Skip to content

Commit

Permalink
RSpec/NestedGroups: Maximum example group nesting exceeded
Browse files Browse the repository at this point in the history
This wasn’t an issue in the previous version of rubocop_rspec. Adding
the second argument seems to fix the issue
  • Loading branch information
acmetech committed Dec 30, 2016
1 parent a17813c commit 26b4113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/active_support/inflector/inflections_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require "rails_helper"

RSpec.describe ActiveSupport::Inflector::Inflections do
RSpec.describe ActiveSupport::Inflector::Inflections, type: :initializer do
context "singularize" do
context "returns the singular form of a word" do
it { expect("ties".singularize(:en)).to eq("tie") }
Expand Down

0 comments on commit 26b4113

Please sign in to comment.