rspec-expectations
https://github.com/rspec/rspec-expectations
Ruby
Provides a readable API to express expected outcomes of a code example
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-expectations
Help out
- Issues
- Don't use RSpec.configure to use the matcher DSL
- Matcher DSL isn't available inside example groups if rspec-expectations is loaded before rspec-core.
- `end_with` takes the assumption that the receiver is a hash, or string.
- `contain_exactly` matcher spins forever, never finishing whatever it's supposed to be doing
- Change matcher does not provide a diff
- have_attributes matcher does not show diff of mismatched attributes
- Diff actual/expected captures from match.with_captures
- Compound failure messages with more than 2 matchers are wrongly indented
- Namespace code block to work around name collisions
- Optimize this lib to reduce object allocations
- Docs