lib/rubocop/cop/rspec/rails/http_status.rb in rubocop-rspec-1.39.0 vs lib/rubocop/cop/rspec/rails/http_status.rb in rubocop-rspec-1.40.0

- old
+ new

@@ -68,10 +68,11 @@ class SymbolicStyleChecker MSG = 'Prefer `%<prefer>s` over `%<current>s` ' \ 'to describe HTTP status code.' attr_reader :node + def initialize(node) @node = node end def offensive? @@ -108,9 +109,10 @@ 'to describe HTTP status code.' ALLOWED_STATUSES = %i[error success missing redirect].freeze attr_reader :node + def initialize(node) @node = node end def offensive?