lib/rubocop/cop/rspec/example_wording.rb in rubocop-rspec-1.8.0 vs lib/rubocop/cop/rspec/example_wording.rb in rubocop-rspec-1.9.0
- old
+ new
@@ -17,11 +17,9 @@
#
# # good
# it 'finds nothing' do
# end
class ExampleWording < Cop
- include RuboCop::RSpec::SpecOnly
-
MSG = 'Do not use should when describing your tests.'.freeze
def on_block(node) # rubocop:disable Metrics/AbcSize,Metrics/MethodLength,Metrics/LineLength
method, = *node
_, method_name, *args = *method