diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-07-02 21:38:58 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-07-02 21:38:58 -0500 |
commit | 3b3790a4351ba7c9d2711089c21f24fcedc11fc0 (patch) | |
tree | 5b51c79d8493bcbc42879933af1d3bbb8084f014 /actionpack/test/template | |
parent | 6c0edef26ee1c0e5f0964cae64c9f48da6daf1fa (diff) | |
download | rails-3b3790a4351ba7c9d2711089c21f24fcedc11fc0.tar.gz rails-3b3790a4351ba7c9d2711089c21f24fcedc11fc0.tar.bz2 rails-3b3790a4351ba7c9d2711089c21f24fcedc11fc0.zip |
Deprecate :use_full_path render option. The supplying the option no longer has an effect.
Diffstat (limited to 'actionpack/test/template')
-rw-r--r-- | actionpack/test/template/render_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/template/render_test.rb b/actionpack/test/template/render_test.rb index 5163c35189..726cf37026 100644 --- a/actionpack/test/template/render_test.rb +++ b/actionpack/test/template/render_test.rb @@ -12,7 +12,7 @@ class ViewRenderTest < Test::Unit::TestCase end def test_render_file_not_using_full_path - assert_equal "Hello world!", @view.render(:file => "test/hello_world.erb", :use_full_path => true) + assert_equal "Hello world!", @view.render(:file => "test/hello_world.erb") end def test_render_file_without_specific_extension @@ -21,7 +21,7 @@ class ViewRenderTest < Test::Unit::TestCase def test_render_file_with_full_path template_path = File.join(File.dirname(__FILE__), '../fixtures/test/hello_world.erb') - assert_equal "Hello world!", @view.render(:file => template_path, :use_full_path => false) + assert_equal "Hello world!", @view.render(:file => template_path) end def test_render_file_with_instance_variables |