Skip to content

Commit

Permalink
fixing bad spec test
Browse files Browse the repository at this point in the history
  • Loading branch information
Esity committed Jun 5, 2021
1 parent f3da101 commit 6ca9fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/legion/json_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
it 'can load a parser for current platform' do
hash = Legion::JSON.load(@json_string)
expect(hash).to eq(foo: 'bar')
string = Legion::JSON.dump(baz: 'qux')
string = Legion::JSON.dump({ baz: 'qux' })
expect(string).to eq('{"baz":"qux"}')
end

Expand Down

0 comments on commit 6ca9fbd

Please sign in to comment.