aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/action_pack_assertions_test.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-07-24 16:45:39 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-07-24 16:45:39 +0000
commit4f40b2d8fbcfb437a628a353eb281553fc840728 (patch)
tree67e6d5c4ccf2eabe7644e830122f721f747f60fa /actionpack/test/controller/action_pack_assertions_test.rb
parent3ccea931fac2872ffb26014592c036b5d137655f (diff)
downloadrails-4f40b2d8fbcfb437a628a353eb281553fc840728.tar.gz
rails-4f40b2d8fbcfb437a628a353eb281553fc840728.tar.bz2
rails-4f40b2d8fbcfb437a628a353eb281553fc840728.zip
Improved performance of test app req/sec with ~10% refactoring the render method #1823 [Stefan Kaes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller/action_pack_assertions_test.rb')
-rw-r--r--actionpack/test/controller/action_pack_assertions_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/action_pack_assertions_test.rb b/actionpack/test/controller/action_pack_assertions_test.rb
index bccff5ab98..e7faeb25cd 100644
--- a/actionpack/test/controller/action_pack_assertions_test.rb
+++ b/actionpack/test/controller/action_pack_assertions_test.rb
@@ -48,7 +48,7 @@ class ActionPackAssertionsController < ActionController::Base
# assign some template instance variables
def assign_this
@howdy = "ho"
- render_text "Mr. Henke"
+ render :inline => "Mr. Henke"
end
def render_based_on_parameters