diff --git a/spec/rubocop/cop/commissioner_spec.rb b/spec/rubocop/cop/commissioner_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/rubocop/cop/commissioner_spec.rb
+++ b/spec/rubocop/cop/commissioner_spec.rb
@@ -24,7 +24,7 @@ describe RuboCop::Cop::Commissioner do
       it 'returns all offenses except the ones of the cop' do
         cops = []
         cops << double('cop A', offenses: %w(foo), excluded_file?: false)
-        cops << double('cop B', offenses: %w(bar), excluded_file?: true)
+        cops << double('cop B', excluded_file?: true)
         cops << double('cop C', offenses: %w(baz), excluded_file?: false)
         cops.each(&:as_null_object)
 
diff --git a/spec/rubocop/formatter/worst_offenders_formatter_spec.rb b/spec/rubocop/formatter/worst_offenders_formatter_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/rubocop/formatter/worst_offenders_formatter_spec.rb
+++ b/spec/rubocop/formatter/worst_offenders_formatter_spec.rb
@@ -17,7 +17,7 @@ module RuboCop
 
       describe '#finished' do
         context 'when there are many offenses' do
-          let(:offense) { double('offense', cop_name: 'SomeCop') }
+          let(:offense) { double('offense') }
 
           before do
             formatter.started(files)
Remove unused doubled methods (#<I>)

These methods can be safely removed from their test doubles without

breaking the test case.