aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/abstract/render_test.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-03-08 14:46:57 +0100
committerJosé Valim <jose.valim@gmail.com>2010-03-08 14:46:57 +0100
commitea68fe59c670dd5580f3aa34fdfa0eb89eb717d3 (patch)
tree2321ba1aa0e720af1de7c7a87b17fc5075cf07a6 /actionpack/test/abstract/render_test.rb
parent0a85380966e47a38292242e6c3b259d77c738ab5 (diff)
downloadrails-ea68fe59c670dd5580f3aa34fdfa0eb89eb717d3.tar.gz
rails-ea68fe59c670dd5580f3aa34fdfa0eb89eb717d3.tar.bz2
rails-ea68fe59c670dd5580f3aa34fdfa0eb89eb717d3.zip
More refactoring on the views side of rendering.
Diffstat (limited to 'actionpack/test/abstract/render_test.rb')
-rw-r--r--actionpack/test/abstract/render_test.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/actionpack/test/abstract/render_test.rb b/actionpack/test/abstract/render_test.rb
index db924633ca..e54d056666 100644
--- a/actionpack/test/abstract/render_test.rb
+++ b/actionpack/test/abstract/render_test.rb
@@ -15,7 +15,6 @@ module AbstractController
"renderer/default.erb" => "With Default",
"renderer/string.erb" => "With String",
"renderer/symbol.erb" => "With Symbol",
- "renderer/template_name.erb" => "With Template Name",
"string/with_path.erb" => "With String With Path",
"some/file.erb" => "With File",
"with_format.html.erb" => "With html format",
@@ -56,14 +55,6 @@ module AbstractController
render :symbol
end
- def template_name
- render :_template_name => :template_name
- end
-
- def object
- render :_template => ActionView::Template::Text.new("With Object")
- end
-
def with_html_format
render :template => "with_format", :format => :html
end
@@ -127,16 +118,6 @@ module AbstractController
assert_equal "With String With Path", @controller.response_body
end
- def test_render_template_name
- @controller.process(:template_name)
- assert_equal "With Template Name", @controller.response_body
- end
-
- def test_render_object
- @controller.process(:object)
- assert_equal "With Object", @controller.response_body
- end
-
def test_render_with_html_format
@controller.process(:with_html_format)
assert_equal "With html format", @controller.response_body