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

- old
+ new

@@ -22,12 +22,12 @@ # describe MyClass do # before(:each) { Widget.create } # after(:each) { Widget.delete_all } # end class BeforeAfterAll < Base - MSG = 'Beware of using `%<hook>s` as it may cause state to leak '\ - 'between tests. If you are using `rspec-rails`, and '\ - '`use_transactional_fixtures` is enabled, then records created '\ + MSG = 'Beware of using `%<hook>s` as it may cause state to leak ' \ + 'between tests. If you are using `rspec-rails`, and ' \ + '`use_transactional_fixtures` is enabled, then records created ' \ 'in `%<hook>s` are not automatically rolled back.' def_node_matcher :before_or_after_all, <<-PATTERN $(send _ {:before :after} (sym {:all :context})) PATTERN