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.
11 Subscribers
Add a CodeTriage badge to rspec-mocks
Help out
- Issues
- 3.11.1 breaks argument matching in Ruby 2.7
- Mocked singleton methods are bound to the mocked class and thus don't respect inheritance
- Impossible to check that method is executed in a range times.
- Mocks dont raise keyword argument errors
- deprecate any_instance_of family of methods
- `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
- Docs
- Subscribe to help with docs for this repo and come back later