Skip to content

Commit

Permalink
fix rubocop rule for rspec max nesting
Browse files Browse the repository at this point in the history
This fixes the rule setting the limit for nested example groups in
RSpec. Its current setting is invalid and does not work.

test plan:
* verify Jenkins passes

Change-Id: If6e03df1d9fd66bc5aacf1f78e0918086c6c73de
Reviewed-on: https://gerrit.instructure.com/100780
Reviewed-by: Simon Williams <simon@instructure.com>
Tested-by: Jenkins
QA-Review: Jeremy Neander <jneander@instructure.com>
Product-Review: Jeremy Neander <jneander@instructure.com>
  • Loading branch information
jneander committed Jan 28, 2017
1 parent 7337718 commit 2398443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ RSpec/ExampleWording:
RSpec/ExampleLength:
Max: 16
RSpec/NestedGroups:
Max: 5
MaxNesting: 5
RSpec/DescribedClass:
Enabled: false
RSpec/DescribeClass:
Expand Down

0 comments on commit 2398443

Please sign in to comment.