mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix tests
This commit is contained in:
parent
e2180e84a9
commit
af1e3b7c48
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ class RailtieTest < ActiveModel::TestCase
|
||||||
require 'active_model/railtie'
|
require 'active_model/railtie'
|
||||||
|
|
||||||
# Set a fake logger to avoid creating the log directory automatically
|
# Set a fake logger to avoid creating the log directory automatically
|
||||||
fake_logger = mock()
|
fake_logger = Logger.new(nil)
|
||||||
|
|
||||||
@app ||= Class.new(::Rails::Application) do
|
@app ||= Class.new(::Rails::Application) do
|
||||||
config.eager_load = false
|
config.eager_load = false
|
||||||
|
|
Loading…
Reference in a new issue