Enables RSpec/ExampleWording and fixes all issues
Both avoiding 'should' and repiting 'it' on the tests description improves reading them and also makes all descriptions consistent. Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExampleWording
This commit is contained in:
@@ -71,4 +71,7 @@ RSpec/EmptyLineAfterSubject:
|
||||
Enabled: true
|
||||
|
||||
RSpec/ExampleLength:
|
||||
Enabled: false
|
||||
Enabled: false
|
||||
|
||||
RSpec/ExampleWording:
|
||||
Enabled: true
|
||||
Reference in New Issue
Block a user