aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2011-06-11 02:52:13 -0400
committerNeeraj Singh <neerajdotname@gmail.com>2011-06-11 03:11:06 -0400
commit6688b6393a0e98669a6152d701224e016f8f8e93 (patch)
tree81dd82dc903cefbfe381038c45cc3bd514d62407 /actionpack/test/controller
parent5da89af6f6d1e36ac2163e87a090a923431f5bd0 (diff)
downloadrails-6688b6393a0e98669a6152d701224e016f8f8e93.tar.gz
rails-6688b6393a0e98669a6152d701224e016f8f8e93.tar.bz2
rails-6688b6393a0e98669a6152d701224e016f8f8e93.zip
expected message should come first
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/url_for_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/url_for_test.rb b/actionpack/test/controller/url_for_test.rb
index 3f3d6dcc2f..484e996f31 100644
--- a/actionpack/test/controller/url_for_test.rb
+++ b/actionpack/test/controller/url_for_test.rb
@@ -293,8 +293,8 @@ module AbstractController
first_class.default_url_options[:host] = first_host
second_class.default_url_options[:host] = second_host
- assert_equal first_class.default_url_options[:host], first_host
- assert_equal second_class.default_url_options[:host], second_host
+ assert_equal first_host, first_class.default_url_options[:host]
+ assert_equal second_host, second_class.default_url_options[:host]
end
def test_with_stringified_keys