lib/rubocop/cop/rspec/rails/http_status.rb in rubocop-rspec-1.32.0 vs lib/rubocop/cop/rspec/rails/http_status.rb in rubocop-rspec-1.33.0

- old
+ new

@@ -65,11 +65,11 @@ end # :nodoc: class SymbolicStyleChecker MSG = 'Prefer `%<prefer>s` over `%<current>s` ' \ - 'to describe HTTP status code.'.freeze + 'to describe HTTP status code.' attr_reader :node def initialize(node) @node = node end @@ -103,10 +103,10 @@ end # :nodoc: class NumericStyleChecker MSG = 'Prefer `%<prefer>s` over `%<current>s` ' \ - 'to describe HTTP status code.'.freeze + 'to describe HTTP status code.' WHITELIST_STATUS = %i[error success missing redirect].freeze attr_reader :node def initialize(node)