Skip to content

Commit

Permalink
Add more prefixes for RSpec/ContextWording
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Thorner committed Jun 3, 2020
1 parent edfe29f commit d8a0c19
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,13 @@ RSpec/MessageSpies:
# it's not clear what action to take to fix an issue.
RSpec/NestedGroups:
Enabled: false

# Nested contexts make more sense with "and" or "but", since
# they are a refinement of an outer context.
RSpec/ContextWording:
Prefixes:
- when
- with
- without
- and
- but

0 comments on commit d8a0c19

Please sign in to comment.