diff options
author | wangjohn <wangjohn@mit.edu> | 2013-04-21 11:07:26 -0400 |
---|---|---|
committer | wangjohn <wangjohn@mit.edu> | 2013-04-21 11:07:26 -0400 |
commit | 6ec28f8cc04e168878803c90f6b32b1caded929d (patch) | |
tree | de53286935ffd4cc9be2c95780c2ae63f3997207 /actionpack/test | |
parent | 0f93fe3dc778f39711efd8058e17b3bef1eefa40 (diff) | |
download | rails-6ec28f8cc04e168878803c90f6b32b1caded929d.tar.gz rails-6ec28f8cc04e168878803c90f6b32b1caded929d.tar.bz2 rails-6ec28f8cc04e168878803c90f6b32b1caded929d.zip |
Removing tests for deprecated options in active support. The
+use_full_path+ option was removed in 3b3790a4 and passing the template
handler to render was deprecated in 43d27e91.
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/render_test.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/actionpack/test/template/render_test.rb b/actionpack/test/template/render_test.rb index 2237d747be..81f3391fcd 100644 --- a/actionpack/test/template/render_test.rb +++ b/actionpack/test/template/render_test.rb @@ -29,14 +29,6 @@ module RenderTestCases assert_equal "Hello world!", @view.render(:file => "test/hello_world") end - def test_render_file_not_using_full_path - assert_equal "Hello world!", @view.render(:file => "test/hello_world") - end - - def test_render_file_without_specific_extension - assert_equal "Hello world!", @view.render(:file => "test/hello_world") - end - # Test if :formats, :locale etc. options are passed correctly to the resolvers. def test_render_file_with_format assert_match "<h1>No Comment</h1>", @view.render(:file => "comments/empty", :formats => [:html]) |