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

Unexpected behavior of have_hash().without() #106

Open
jesseclark opened this issue Jan 17, 2020 · 0 comments
Open

Unexpected behavior of have_hash().without() #106

jesseclark opened this issue Jan 17, 2020 · 0 comments

Comments

@jesseclark
Copy link
Contributor

'have_hash(foo: 'bar').without(:some_key, :another_key)' passes even if the hash contains :some_key and/or :another_key. Looking at the implementation of #without, I don't think this was the intended outcome of this method.

This came up in the context of the discussion on a PR in global/web.

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

No branches or pull requests

1 participant