lib/rubocop/cop/rspec/named_subject.rb in rubocop-rspec-1.32.0 vs lib/rubocop/cop/rspec/named_subject.rb in rubocop-rspec-1.33.0
- old
+ new
@@ -41,10 +41,10 @@
#
# it { should be_valid }
# end
class NamedSubject < Cop
MSG = 'Name your test subject if you need '\
- 'to reference it explicitly.'.freeze
+ 'to reference it explicitly.'
def_node_matcher :rspec_block?, <<-PATTERN
{
#{Examples::ALL.block_pattern}
#{Hooks::ALL.block_pattern}