lib/rubocop/cop/rspec/unspecified_exception.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/unspecified_exception.rb in rubocop-rspec-1.43.0
- old
+ new
@@ -28,10 +28,10 @@
# expect {
# raise StandardError.new('error')
# }.to raise_error(/err/)
#
# expect { do_something }.not_to raise_error
- class UnspecifiedException < Cop
+ class UnspecifiedException < Base
MSG = 'Specify the exception being captured'
def_node_matcher :empty_raise_error_or_exception, <<-PATTERN
(send
(block