Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[expectations] Fix support for dynamic matchers
See rspec/rspec-collection_matchers#48 If a matcher supports dynamic arbitrary methods called on it, e.g. `have_at_least(100).bucks`, it would also consider a `supports_value_expectations?` call as a dynamic part. Instead of calling `supports_*?` methods on a matcher, explicitly check if it responds to it. --- This commit was imported from rspec/rspec-expectations@d8f272a.
- Loading branch information