aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/view_paths_test.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-09-09 18:00:55 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-09-09 18:00:55 +0000
commit89b7630627b2e4c16b499273bc95b9fb40c7ed0a (patch)
treec6fc2234f2ebbd3561af2178ec23fd6cb07bc4ad /actionpack/test/controller/view_paths_test.rb
parent85800c110eb00924f0260774ac7bceac13a6ace3 (diff)
downloadrails-89b7630627b2e4c16b499273bc95b9fb40c7ed0a.tar.gz
rails-89b7630627b2e4c16b499273bc95b9fb40c7ed0a.tar.bz2
rails-89b7630627b2e4c16b499273bc95b9fb40c7ed0a.zip
Removed the deprecated ActionController#Base.template_root/= methods (use ActionController#Base.view_paths/= instead) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller/view_paths_test.rb')
-rw-r--r--actionpack/test/controller/view_paths_test.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/actionpack/test/controller/view_paths_test.rb b/actionpack/test/controller/view_paths_test.rb
index 67048e76b0..83c4ab23e7 100644
--- a/actionpack/test/controller/view_paths_test.rb
+++ b/actionpack/test/controller/view_paths_test.rb
@@ -70,16 +70,6 @@ class ViewLoadPathsTest < Test::Unit::TestCase
assert_equal "Hello overridden world!", @response.body
end
- def test_template_root_deprecated
- assert_deprecated(/template_root.*view_paths/) do
- TestController.template_root = 'foo/bar'
- end
- assert_deprecated(/template_root.*view_paths/) do
- assert_equal 'foo/bar', TestController.template_root
- assert_equal ['foo/bar', LOAD_PATH_ROOT], TestController.view_paths
- end
- end
-
def test_inheritance
original_load_paths = ActionController::Base.view_paths