lib/rubocop/cop/rspec/nested_groups.rb in rubocop-rspec-1.21.0 vs lib/rubocop/cop/rspec/nested_groups.rb in rubocop-rspec-1.22.0

- old
+ new

@@ -19,11 +19,11 @@ # end # # let(:user_attributes) do # { # name: 'John', - # age: 22 + # age: 22, # role: role # } # end # # context 'when user is an admin' do # flagged by rubocop @@ -41,10 +41,10 @@ # let(:feature) { :setup } # # let(:user) do # UserCreate.call( # name: 'John', - # age: 22 + # age: 22, # role: 'admin' # ) # end # # it 'blah blah'