mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
reduce warning output when running specs
This commit is contained in:
parent
a18d30ea6e
commit
8a63cf504f
1 changed files with 5 additions and 0 deletions
5
spec/spec_helpers/remove_warnings.rb
Normal file
5
spec/spec_helpers/remove_warnings.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
RSpec.configure do |config|
|
||||
config.before(:each) do
|
||||
allow_any_instance_of(Logger).to receive(:warn)
|
||||
end
|
||||
end
|
Loading…
Add table
Reference in a new issue