Skip to content

Commit

Permalink
Silence ActiveRecord logs during persistence specs running temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
gussan committed Apr 6, 2017
1 parent e4b6fab commit bdc5316
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
describe ActiveRecord::Turntable::ActiveRecordExt::Persistence do
around do |example|
old = ActiveRecord::Base.logger
ActiveRecord::Base.logger = Logger.new(STDOUT)
ActiveRecord::Base.logger = Logger.new("/dev/null")
example.run
ActiveRecord::Base.logger = old
end
Expand Down

0 comments on commit bdc5316

Please sign in to comment.