Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow multiple matching elements in assert_has (#20)
Fixes #18 The docs for assert_has say "It'll raise an error if no elements are found, but it will not raise if more than one matching element is found." But I'm seeing that an assert_has with multiple matching elements is raising a CaseClauseError when it gets back a {:found_many, ...} tuple. This commit fixes that by adding the necessary clause.
- Loading branch information