aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/send_file_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/send_file_test.rb')
-rw-r--r--actionpack/test/controller/send_file_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/test/controller/send_file_test.rb b/actionpack/test/controller/send_file_test.rb
index d18d15b18a..b7674bda60 100644
--- a/actionpack/test/controller/send_file_test.rb
+++ b/actionpack/test/controller/send_file_test.rb
@@ -10,6 +10,7 @@ end
class SendFileController < ActionController::Base
include TestFileUtils
+ layout "layouts/standard" # to make sure layouts don't interfere
attr_writer :options
def options() @options ||= {} end
@@ -20,6 +21,7 @@ class SendFileController < ActionController::Base
def rescue_action(e) raise end
end
+SendFileController.template_root = File.dirname(__FILE__) + "/../fixtures/"
class SendFileTest < Test::Unit::TestCase
include TestFileUtils