lib/rubocop/cop/rspec/let_setup.rb in rubocop-rspec-1.32.0 vs lib/rubocop/cop/rspec/let_setup.rb in rubocop-rspec-1.33.0
- old
+ new
@@ -26,10 +26,10 @@
# expect(Widget.count).to eq(1)
# end
class LetSetup < Cop
include RuboCop::RSpec::TopLevelDescribe
- MSG = 'Do not use `let!` for test setup.'.freeze
+ MSG = 'Do not use `let!` for test setup.'
def_node_search :let_bang, <<-PATTERN
(block $(send nil? :let! (sym $_)) args ...)
PATTERN