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:
parent
8868cfd2e4
commit
c6adf7f032
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue