aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/verification_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/verification_test.rb')
-rw-r--r--actionpack/test/controller/verification_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/test/controller/verification_test.rb b/actionpack/test/controller/verification_test.rb
index dc95c4b8a1..a3a913d42f 100644
--- a/actionpack/test/controller/verification_test.rb
+++ b/actionpack/test/controller/verification_test.rb
@@ -34,15 +34,15 @@ class VerificationTest < Test::Unit::TestCase
verify :only => :must_be_post, :method => :post, :render => { :status => 405, :text => "Must be post" }, :add_headers => { "Allow" => "POST" }
def guarded_one
- render :text => "#{@params["one"]}"
+ render :text => "#{params[:one]}"
end
def guarded_with_flash
- render :text => "#{@params["one"]}"
+ render :text => "#{params[:one]}"
end
def guarded_two
- render :text => "#{@params["one"]}:#{@params["two"]}"
+ render :text => "#{params[:one]}:#{params[:two]}"
end
def guarded_in_session
@@ -70,7 +70,7 @@ class VerificationTest < Test::Unit::TestCase
end
def unguarded
- render :text => "#{@params["one"]}"
+ render :text => "#{params[:one]}"
end
def two_redirects