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 9bf46cb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
end
end

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

expect(serial).to be_a(String)
expect(serial).to be_a(Array)
end

it 'should roundtrip to_json to from_json!' do
Expand Down

0 comments on commit 9bf46cb

Please sign in to comment.