spec/spec_helper.rb in paraduct-1.0.0.beta4 vs spec/spec_helper.rb in paraduct-1.0.0.beta5
- old
+ new
@@ -123,10 +123,10 @@
config.order = :random
config.before do
unless is_verbose
# quiet all logs
- Paraduct::ColoredLabelLogger::SEVERITIES.each do |severity|
+ [:debug, :info, :warn, :error, :fatal].each do |severity|
allow(Paraduct.logger).to receive(severity)
allow_any_instance_of(Paraduct::ColoredLabelLogger).to receive(severity)
end
end
end