未验证 提交 d2ccf0c6 编写于 作者: B bogdanvlviv

Simplify configuring of `ActionCable.server.config.logger` for actioncable tests

See `git grep "= Logger.new(nil)"`
上级 1055d141
......@@ -17,7 +17,7 @@
# Set test adapter and logger
ActionCable.server.config.cable = { "adapter" => "test" }
ActionCable.server.config.logger = Logger.new(StringIO.new).tap { |l| l.level = Logger::UNKNOWN }
ActionCable.server.config.logger = Logger.new(nil)
class ActionCable::TestCase < ActiveSupport::TestCase
include ActiveSupport::Testing::MethodCallAssertions
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册