mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
commit
5961d6882b
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class ACLogSubscriberTest < ActionController::TestCase
|
|||
|
||||
@old_logger = ActionController::Base.logger
|
||||
|
||||
@cache_path = File.join Dir.tmpdir, Dir::Tmpname.make_tmpname("tmp", "cache")
|
||||
@cache_path = Dir.mktmpdir(%w[tmp cache])
|
||||
@controller.cache_store = :file_store, @cache_path
|
||||
ActionController::LogSubscriber.attach_to :action_controller
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue