rspec-mocks
https://github.com/rspec/rspec-mocks
Ruby
RSpec's 'test double' framework, with support for stubbing and mocking
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
10 Subscribers
Add a CodeTriage badge to rspec-mocks
Help out
- Issues
- allow_any_instance_of with block followed by expect_any_instance_of without block leads to doubled unshifting of the original object
- Get rid of redefinition of `__send__`
- Expectation with method missing `self.class.define_method name && send(name)` fails
- `any_instance_of` does not restore method on JRuby
- Using the last argument as keyword parameters is deprecated for arbitrary handling with a block
- SystemStackError: stack level too deep when using "and_call_original" for overwritten ".new"
- Adding compound methods to receive and have_received, fixes #1298.
- Matchers missing compound methods
- Message expectation doesn't leverage passed matcher capabilities when reporting error.
- allow_any_instance_of(SomeModule) with and_wrap_original causes SystemStackError
- Docs
- Subscribe to help with docs for this repo and come back later