Skip to content

Commit

Permalink
Merge pull request #179 from projecthydra-labs/rubocop_autocorrect_rspec
Browse files Browse the repository at this point in the history
Rubocop autocorrect should transform rspec describe messages with "NOT" and "only" properly
  • Loading branch information
grosscol committed Aug 26, 2015
2 parents fc196e3 + 04a6a56 commit 274f5e0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ Style/ClassAndModuleChildren:
Style/Documentation:
Enabled: false

RSpec/ExampleWording:
CustomTransform:
be: is
have: has
not: does not
NOT: does NOT
IgnoredWords:
- only

RSpec/FilePath:
Enabled: false

Expand Down

0 comments on commit 274f5e0

Please sign in to comment.