aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/testing
diff options
context:
space:
mode:
authorEvan Farrar <evanfarrar@gmail.com>2009-05-07 12:35:38 -0500
committerEvan Farrar <evanfarrar@gmail.com>2009-05-07 12:35:38 -0500
commita97f3bdfa960738cc12c26a502b00daed3900167 (patch)
tree2387df24932ae01241d5cee438efc45592a877ff /actionpack/lib/action_controller/testing
parent1135e29bab052c7f0987d168b989d6621fc85311 (diff)
downloadrails-a97f3bdfa960738cc12c26a502b00daed3900167.tar.gz
rails-a97f3bdfa960738cc12c26a502b00daed3900167.tar.bz2
rails-a97f3bdfa960738cc12c26a502b00daed3900167.zip
Some spelling changes.
Diffstat (limited to 'actionpack/lib/action_controller/testing')
-rw-r--r--actionpack/lib/action_controller/testing/test_case.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/testing/test_case.rb b/actionpack/lib/action_controller/testing/test_case.rb
index b020b755a0..beea174766 100644
--- a/actionpack/lib/action_controller/testing/test_case.rb
+++ b/actionpack/lib/action_controller/testing/test_case.rb
@@ -56,7 +56,7 @@ module ActionController
#
# ActionController::TestCase will automatically infer the controller under test
# from the test class name. If the controller cannot be inferred from the test
- # class name, you can explicity set it with +tests+.
+ # class name, you can explicitly set it with +tests+.
#
# class SpecialEdgeCaseWidgetsControllerTest < ActionController::TestCase
# tests WidgetController
@@ -195,7 +195,7 @@ module ActionController
@controller.send(:initialize_current_url)
end
end
-
+
# Cause the action to be rescued according to the regular rules for rescue_action when the visitor is not local
def rescue_action_in_public!
@request.remote_addr = '208.77.188.166' # example.com