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.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/controller/verification_test.rb b/actionpack/test/controller/verification_test.rb
index c5ff175d1b..05012cf724 100644
--- a/actionpack/test/controller/verification_test.rb
+++ b/actionpack/test/controller/verification_test.rb
@@ -59,15 +59,15 @@ class VerificationTest < Test::Unit::TestCase
end
def guarded_by_method
- render :text => "#{@request.method}"
+ render :text => "#{request.method}"
end
def guarded_by_xhr
- render :text => "#{@request.xhr?}"
+ render :text => "#{request.xhr?}"
end
def guarded_by_not_xhr
- render :text => "#{@request.xhr?}"
+ render :text => "#{request.xhr?}"
end
def unguarded