spec/rubocop/cop/rspec/multiple_expectations_spec.rb in rubocop-rspec-1.15.0 vs spec/rubocop/cop/rspec/multiple_expectations_spec.rb in rubocop-rspec-1.15.1

- old
+ new

@@ -2,10 +2,10 @@ RSpec.describe RuboCop::Cop::RSpec::MultipleExpectations, :config do subject(:cop) { described_class.new(config) } context 'without configuration' do - let(:cop_config) { Hash.new } + let(:cop_config) { {} } it 'flags multiple expectations' do expect_violation(<<-RUBY) describe Foo do it 'uses expect twice' do