lib/rubocop/cop/rspec/before_after_all.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/before_after_all.rb in rubocop-rspec-1.43.0

- old
+ new

@@ -21,10 +21,10 @@ # # # describe MyClass do # before(:each) { Widget.create } # after(:each) { Widget.delete_all } # end - class BeforeAfterAll < Cop + 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.'