diff options
author | Rick Olson <technoweenie@gmail.com> | 2007-02-04 20:47:05 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2007-02-04 20:47:05 +0000 |
commit | 69b0e5c44a05fddcac996c7aaaca61cb3188da5e (patch) | |
tree | 4e5da68ffe3eac5561a9101a451a2f56a701e989 /actionpack/test/controller/deprecation | |
parent | 8f614a80e725228c0cc0c03fd731c6cbad0ffcb7 (diff) | |
download | rails-69b0e5c44a05fddcac996c7aaaca61cb3188da5e.tar.gz rails-69b0e5c44a05fddcac996c7aaaca61cb3188da5e.tar.bz2 rails-69b0e5c44a05fddcac996c7aaaca61cb3188da5e.zip |
Allow Controllers to have multiple view_paths instead of a single template_root. Closes #2754 [John Long]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller/deprecation')
-rw-r--r-- | actionpack/test/controller/deprecation/deprecated_base_methods_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb b/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb index d8da676f96..3256b77477 100644 --- a/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb +++ b/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb @@ -21,7 +21,7 @@ class DeprecatedBaseMethodsTest < Test::Unit::TestCase def rescue_action(e) raise e end end - Target.template_root = File.dirname(__FILE__) + "/../../fixtures" + Target.view_paths = [ File.dirname(__FILE__) + "/../../fixtures" ] def setup @request = ActionController::TestRequest.new |