diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-19 03:20:39 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-19 03:20:39 +0000 |
commit | 84b0f9c739ffb82f3b8e0571c400014c34d0e369 (patch) | |
tree | cae7ff7cf03695f0ad9483a933a097e5c898d5b2 /actionpack/test/controller/new_render_test.rb | |
parent | 4a644575c83d78e751f49cb6ba47e1c98af693a8 (diff) | |
download | rails-84b0f9c739ffb82f3b8e0571c400014c34d0e369.tar.gz rails-84b0f9c739ffb82f3b8e0571c400014c34d0e369.tar.bz2 rails-84b0f9c739ffb82f3b8e0571c400014c34d0e369.zip |
Introduce TemplateFinder to handle view paths and lookups. Closes #10800.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller/new_render_test.rb')
-rw-r--r-- | actionpack/test/controller/new_render_test.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/actionpack/test/controller/new_render_test.rb b/actionpack/test/controller/new_render_test.rb index eb19b2e391..4a9b0e9ddf 100644 --- a/actionpack/test/controller/new_render_test.rb +++ b/actionpack/test/controller/new_render_test.rb @@ -78,11 +78,6 @@ class NewRenderTestController < ActionController::Base @secret = 'in the sauce' render :file => 'test/render_file_with_ivar', :use_full_path => true end - - def render_file_not_using_full_path_with_relative_path - @secret = 'in the sauce' - render :file => 'test/../test/render_file_with_ivar', :use_full_path => true - end def render_file_not_using_full_path_with_dot_in_path @secret = 'in the sauce' @@ -488,11 +483,6 @@ class NewRenderTest < Test::Unit::TestCase assert_equal "The secret is in the sauce\n", @response.body end - def test_render_file_not_using_full_path_with_relative_path - get :render_file_not_using_full_path_with_relative_path - assert_equal "The secret is in the sauce\n", @response.body - end - def test_render_file_not_using_full_path_with_dot_in_path get :render_file_not_using_full_path_with_dot_in_path assert_equal "The secret is in the sauce\n", @response.body |