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
- `NoMethodError` when `receive` and `have_receive` are aliased with `alias_matcher`. Conflicts with ActiveSupport's `Object#with`
- Regression in 3.13: custom matcher hash argument improperly converted to keyword args, results in `ArgumentError`
- Output chained matchers description
- New matcher idea: `match_pattern` for Ruby's pattern-matching
- "NotImplementedError: `expect { }.not_to change { }.by()` is not supported" - would be nice to improve
- `match` diff output should look like `match_array` when matching arrays
- Prevent custom matcher is called twice without compound
- Raise an error when calling custom matcher without using `.and`
- `start_with` and `end_with` matcher failure output does not include a diff on multi-line strings
- Compound expectations of OutputMatcher do not receive captured output
- Docs