Skip to content
New issue

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

Comparing an array (as actual value) using have_attributes produces wrong diff #122

Open
mcmire opened this issue Feb 14, 2021 · 0 comments
Labels

Comments

@mcmire
Copy link
Collaborator

mcmire commented Feb 14, 2021

actual is an array as you can see in the top part of this screenshot:

Screen Shot 2021-02-13 at 6 14 26 PM

Here is the result. Notice that the keys are missing from the values in the diff:

Screen Shot 2021-02-13 at 6 13 13 PM

Tests are missing from spec/support/shared_examples/active_record.rb for have_attributes so that is why we haven't discovered this yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant