rubocop-rspec
https://github.com/rubocop/rubocop-rspec
Ruby
Code style checking for RSpec files
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.
3 Subscribers
Add a CodeTriage badge to rubocop-rspec
Help out
- Issues
- `RSpec/MultipleSubjects` and `RSpec/LeadingSubject` autocorrect removes subject used in tests
- Cop idea: Warn when creating global shared contexts/examples within tests
- Fix `RSpec/ExampleWording` in escaping and `%` string literals
- `RSpec/ExampleWording` unintentionally removes escapes
- RSpec/RedundantPredicateMatcher autocorrect on be_match is not safe
- False positive for `RSpec/PendingWithoutReason` cop
- Cop idea: Disallowed list of spec conditions
- Cop idea: Prefer `#change` over `#round` for Time/DateTime
- Cop idea: Model Validations
- Cop idea: Prefer `#be_within` over `#round`
- Docs
- RuboCop::Cop::RSpec::DiscardedMatcher#find_outermost_chain
- RuboCop::Cop::RSpec::DiscardedMatcher#custom_matcher_methods
- RuboCop::Cop::RSpec::DiscardedMatcher#all_matcher_methods
- RuboCop::Cop::RSpec::DiscardedMatcher#matcher_call?
- RuboCop::Cop::RSpec::DiscardedMatcher#void_value?
- RuboCop::Cop::RSpec::DiscardedMatcher#expectation_with_matcher?
- RuboCop::Cop::RSpec::DiscardedMatcher#example_with_matcher_expectation?
- RuboCop::Cop::RSpec::DiscardedMatcher#check_discarded_matcher
- RuboCop::Cop::RSpec::DiscardedMatcher#on_block
- RuboCop::Cop::RSpec::DiscardedMatcher#on_send