aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/session_management_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/session_management_test.rb')
-rw-r--r--actionpack/test/controller/session_management_test.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/actionpack/test/controller/session_management_test.rb b/actionpack/test/controller/session_management_test.rb
index 63917565ef..44fb93104c 100644
--- a/actionpack/test/controller/session_management_test.rb
+++ b/actionpack/test/controller/session_management_test.rb
@@ -5,11 +5,11 @@ class SessionManagementTest < Test::Unit::TestCase
session :off
def show
- render_text "done"
+ render :text => "done"
end
def tell
- render_text "done"
+ render :text => "done"
end
end
@@ -20,15 +20,15 @@ class SessionManagementTest < Test::Unit::TestCase
:if => Proc.new { |r| r.parameters[:ws] }
def show
- render_text "done"
+ render :text => "done"
end
def tell
- render_text "done"
+ render :text => "done"
end
def conditional
- render_text ">>>#{params[:ws]}<<<"
+ render :text => ">>>#{params[:ws]}<<<"
end
end
@@ -36,11 +36,11 @@ class SessionManagementTest < Test::Unit::TestCase
session :disabled => false, :only => :something
def something
- render_text "done"
+ render :text => "done"
end
def another
- render_text "done"
+ render :text => "done"
end
end