lib/rubocop/cop/rspec/scattered_let.rb in rubocop-rspec-1.32.0 vs lib/rubocop/cop/rspec/scattered_let.rb in rubocop-rspec-1.33.0
- old
+ new
@@ -25,10 +25,10 @@
# let(:bar) { 2 }
# let!(:baz) { 3 }
# end
#
class ScatteredLet < Cop
- MSG = 'Group all let/let! blocks in the example group together.'.freeze
+ MSG = 'Group all let/let! blocks in the example group together.'
def on_block(node)
return unless example_group_with_body?(node)
check_let_declarations(node.body)