From 4f40b2d8fbcfb437a628a353eb281553fc840728 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 24 Jul 2005 16:45:39 +0000 Subject: 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 --- actionpack/test/controller/action_pack_assertions_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/test/controller/action_pack_assertions_test.rb') 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 -- cgit v1.2.3