lib/rubocop/cop/rspec/implicit_subject.rb in rubocop-rspec-1.32.0 vs lib/rubocop/cop/rspec/implicit_subject.rb in rubocop-rspec-1.33.0
- old
+ new
@@ -27,10 +27,10 @@
# it { expect(subject).to be_truthy }
#
class ImplicitSubject < Cop
include ConfigurableEnforcedStyle
- MSG = "Don't use implicit subject.".freeze
+ MSG = "Don't use implicit subject."
def_node_matcher :implicit_subject?, <<-PATTERN
(send nil? {:should :should_not :is_expected} ...)
PATTERN