lib/rubocop/cop/rspec/rails/http_status.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/rails/http_status.rb in rubocop-rspec-1.43.0
- old
+ new
@@ -28,10 +28,10 @@
# it { is_expected.to have_http_status 200 }
# it { is_expected.to have_http_status 404 }
# it { is_expected.to have_http_status :success }
# it { is_expected.to have_http_status :error }
#
- class HttpStatus < Cop
+ class HttpStatus < Base
extend AutoCorrector
include ConfigurableEnforcedStyle
def_node_matcher :http_status, <<-PATTERN
(send nil? :have_http_status ${int sym})