commit
5961d6882b
|
@ -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 New Issue