We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This rather benign appearing spec:
it 'loses its mind' do expect({ m: [ { s: { a: :i, b: "", c: :r } } ], s: { a: :o, b: nil, c: :r } }).to match_json_expression({ m: [ { s: { a: :i, b: "", c: :r } } ], s: { a: :o, b: nil, c: :r } }) end
blows up:
Failure/Error: expect({ SystemStackError: stack level too deep
The text was updated successfully, but these errors were encountered:
Note, calling .to_json fixes this, but I still think you may want to address this issue (by coercing the input to json or blowing up if it's not):
.to_json
expect(foo.to_json).to match_json_expression(json)
Sorry, something went wrong.
No branches or pull requests
This rather benign appearing spec:
blows up:
The text was updated successfully, but these errors were encountered: