Skip to content

Commit

Permalink
(MAINT) Adjust tests after newest json release
Browse files Browse the repository at this point in the history
Following the latest release of the json gem, the tests
have broken as a result of a change in behaviour. This commit
aims to adjust the tests to work with the new version.
  • Loading branch information
LukasAud committed Nov 7, 2024
1 parent c6a4d5f commit 396068a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ group :development do
gem 'yard', '~> 0.9.28', :require => false
gem "rubocop", '~> 1.64.0', :require => false
gem "rubocop-performance", '~> 1.16', :require => false
gem "rubocop-rspec", '~> 3.0', :require => false
gem "rubocop-rspec", '~> 3.0', :require => false
gem 'simplecov', :require => false
gem 'simplecov-console', :require => false
gem 'json', "< 2.8.0", :require => false

if ENV['PUPPET_GEM_VERSION']
gem 'puppet', ENV['PUPPET_GEM_VERSION'], :require => false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
end
end

it 'should serialize to a string' do
it 'should serialize to an string' do
serial = subject.to_json

expect(serial).to be_a(String)
Expand Down

0 comments on commit 396068a

Please sign in to comment.