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
- Cop Idea: Recommend `double` instead of anonymous OpenStruct for test setup
- More general cop for stubbing system under test
- Cop idea: Be able to configure whether to allow Expect/Receive for ExpectInHook
- Extend MethodCallParentheses for DSL methods
- RSpec/PredicateMatcher: more careful approach?
- Cop Idea: Detect redundant `before(:each)`
- Cop Idea: use fixture_path
- Reduce duplication between LetBeforeExamples and HooksBeforeExamples
- Suggestion: Better explanations for Code Climate
- Different message expectation methods for setup and assertion
- Docs
- RuboCop::Cop::RSpec::VoidExpect#inside_example?
- RuboCop::Cop::RSpec::ContextWording#message
- RuboCop::Cop::RSpec::StringAsInstanceDoubleConstant#autocorrect
- RuboCop::Cop::RSpec::StringAsInstanceDoubleConstant#on_send
- RuboCop::Cop::RSpec::StringAsInstanceDoubleConstant#stringified_instance_double_const?
- Setting.default_locale
- Setting.enabled_locales
- Ahoy::Chart.active_events_data_points
- Ahoy::Chart.event_names_with_collections
- Ahoy::Chart.active_event_names