DEV: correct heisentest

After you visit a page in Rails an INFO is logged, this depending on
timing could land in the string or not

This changes the level to WARN which avoids the issue
This commit is contained in:
Sam 2018-11-30 15:03:41 +11:00
parent 8868cfd2e4
commit c6adf7f032
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ RSpec.describe ApplicationController do
@old_logger = Rails.logger
@logs = StringIO.new
Rails.logger = Logger.new(@logs)
Rails.logger.level = Logger::WARN
end
after do