lib/rubocop/cop/rspec/expect_output.rb in rubocop-rspec-2.0.0 vs lib/rubocop/cop/rspec/expect_output.rb in rubocop-rspec-2.0.1

- old
+ new

@@ -13,10 +13,10 @@ # expect($stdout.string).to eq('Hello World') # # # good # expect { my_app.print_report }.to output('Hello World').to_stdout class ExpectOutput < Base - MSG = 'Use `expect { ... }.to output(...).to_%<name>s` '\ + MSG = 'Use `expect { ... }.to output(...).to_%<name>s` ' \ 'instead of mutating $%<name>s.' def on_gvasgn(node) return unless inside_example_scope?(node)