提交 94725b81 编写于 作者: C Carlos Antonio da Silva

Merge pull request #10860 from ka8725/activemodel_log

Ignore activemodel/log/ folder
......@@ -7,8 +7,12 @@ class RailtieTest < ActiveModel::TestCase
def setup
require 'active_model/railtie'
# Set a fake logger to avoid creating the log directory automatically
fake_logger = mock()
@app ||= Class.new(::Rails::Application) do
config.eager_load = false
config.logger = fake_logger
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册