Enable RSpec/ExpectActual cop and fix all issues
Always use a variable and not a literal as `expect` argument Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExpectActual
This commit is contained in:
@@ -74,4 +74,7 @@ RSpec/ExampleLength:
|
||||
Enabled: false
|
||||
|
||||
RSpec/ExampleWording:
|
||||
Enabled: true
|
||||
|
||||
RSpec/ExpectActual:
|
||||
Enabled: true
|
||||
Reference in New Issue
Block a user