Skip to content

Commit f8090f9

Browse files
committed
Remove unnecessary spec
We spec already that the code has no offense. We shouldn't need to spec that no autocorrect happens.
1 parent fc8422a commit f8090f9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

spec/rubocop/cop/rspec/receive_counts_spec.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,4 @@
128128
expect(action).to have_published_event.exactly(1).times
129129
RUBY
130130
end
131-
132-
# Does not auto-correct if not part of the RSpec API
133-
include_examples 'autocorrect',
134-
'expect(foo).to have_published_event(:bar).exactly(2).times',
135-
'expect(foo).to have_published_event(:bar).exactly(2).times'
136131
end

0 commit comments

Comments
 (0)