lib/rubocop/cop/rspec/example_without_description.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/example_without_description.rb in rubocop-rspec-1.43.0
- old
+ new
@@ -45,10 +45,10 @@
# it { is_expected.to be_good }
# it do
# result = service.call
# expect(result).to be(true)
# end
- class ExampleWithoutDescription < Cop
+ class ExampleWithoutDescription < Base
include ConfigurableEnforcedStyle
MSG_DEFAULT_ARGUMENT = 'Omit the argument when you want to ' \
'have auto-generated description.'
MSG_ADD_DESCRIPTION = 'Add a description.'