diff options
author | Lee Reilly <lee@leereilly.net> | 2011-05-29 12:40:24 -0700 |
---|---|---|
committer | Lee Reilly <lee@leereilly.net> | 2011-05-29 12:40:24 -0700 |
commit | 4f234bfd799f471490775a2843b3cf7db2af21ed (patch) | |
tree | ea9623612567ea02dbdd5a73463274bb3f92a6f9 /actionpack/lib/action_dispatch | |
parent | 18b153d15d76ff2f06b76a16ca46b548b7d6750a (diff) | |
download | rails-4f234bfd799f471490775a2843b3cf7db2af21ed.tar.gz rails-4f234bfd799f471490775a2843b3cf7db2af21ed.tar.bz2 rails-4f234bfd799f471490775a2843b3cf7db2af21ed.zip |
Corrected some typos and American vs. Queen's English issues
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/assertions/response.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_dispatch/testing/assertions/response.rb b/actionpack/lib/action_dispatch/testing/assertions/response.rb index 606b01893e..a2d639cd56 100644 --- a/actionpack/lib/action_dispatch/testing/assertions/response.rb +++ b/actionpack/lib/action_dispatch/testing/assertions/response.rb @@ -60,11 +60,11 @@ module ActionDispatch assert_response(:redirect, message) return true if options == @response.location - redirected_to_after_normalisation = normalize_argument_to_redirection(@response.location) - options_after_normalisation = normalize_argument_to_redirection(options) + redirected_to_after_normalization = normalize_argument_to_redirection(@response.location) + options_after_normalization = normalize_argument_to_redirection(options) - if redirected_to_after_normalisation != options_after_normalisation - flunk "Expected response to be a redirect to <#{options_after_normalisation}> but was a redirect to <#{redirected_to_after_normalisation}>" + if redirected_to_after_normalization != options_after_normalization + flunk "Expected response to be a redirect to <#{options_after_normalization}> but was a redirect to <#{redirected_to_after_normalization}>" end end |