lib/rubocop/cop/rspec/before_after_all.rb in rubocop-rspec-2.12.1 vs lib/rubocop/cop/rspec/before_after_all.rb in rubocop-rspec-2.13.0

- old
+ new

@@ -21,9 +21,10 @@ # # # 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 ' \ 'in `%<hook>s` are not automatically rolled back.'