Closed cgunther closed 6 years ago
Oh wow @cgunther, sorry I didn't see this here. Reviewing now and I'll merge it for a new release.
@markedmondson these implementations are really similar to yours. From what I can tell at a glance, this pull request gets it done more directly with module_eval
and it adds a definition for supports_block_expectations
as well... Can you try what you need with this branch & see if it works?
If you're looking to cut a new release soon, would you mind merging this too? That'd allow me to depend on a proper version of this gem rather than my fork. Thanks!
Awesome, thanks for the merge!
Thanks for this gem!
This updates the matchers to work with RSpec 3 and not issue deprecations.
I updated the gemspec to rely on RSpec 3 or higher, though with some more work I suppose the changes could be adapted to support both RSpec 2 and 3, but I'm not sure if there's value in that.
The test suite passes as well as the test suite for my application using these matchers.