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
- Figure out best practices for sorbet + RSpec mocks
- Prevent error formatting from causing recursive errors
- Expect to have_received(method).with({}) fails when method modifies the Hash
- Refactoring `Mocks::Proxy` to make it easier to treat blocks similarly to args for expectations matchers like `a_block`
- Stubbing method_missing while private method of same name exists does not work
- Add argument matcher for expecting a block.
- Any instance expectations with super/sub classes and nested blocks leak stubs.
- Contract verifiable mocks using shared examples (discussion)
- Stubbing prepended methods no longer works under Ruby 2.5.1
- Minitest integration fails to load ActiveModel methods
- Docs
- Subscribe to help with docs for this repo and come back later