aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
diff options
context:
space:
mode:
authorrohit <rohit.arondekar@gmail.com>2010-05-16 08:02:44 +0530
committerJosé Valim <jose.valim@gmail.com>2010-05-16 10:47:03 +0200
commitafe57dda26b8ca8484a90801a0fd378dad60e180 (patch)
tree11d1c09242b2342de7ca17c069cc504ee77051a6 /railties/test/application
parentedec1afe25014749f0e2df86d27477b45586a9e3 (diff)
downloadrails-afe57dda26b8ca8484a90801a0fd378dad60e180.tar.gz
rails-afe57dda26b8ca8484a90801a0fd378dad60e180.tar.bz2
rails-afe57dda26b8ca8484a90801a0fd378dad60e180.zip
Fixed two failing tests in railties on 1.9.2-head [#4609 state:commited]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'railties/test/application')
-rw-r--r--railties/test/application/initializers/hooks_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/initializers/hooks_test.rb b/railties/test/application/initializers/hooks_test.rb
index 1316bf6ee2..198abbe861 100644
--- a/railties/test/application/initializers/hooks_test.rb
+++ b/railties/test/application/initializers/hooks_test.rb
@@ -66,7 +66,7 @@ module ApplicationTests
RUBY
require "#{app_path}/config/environment"
- assert [:to_prepare, :after_initialize], $order
+ assert_equal [:to_prepare, :after_initialize], $order
end
test "after_initialize happens after to_prepare in production" do
@@ -80,7 +80,7 @@ module ApplicationTests
require "#{app_path}/config/application"
Rails.env.replace "production"
require "#{app_path}/config/environment"
- assert [:to_prepare, :after_initialize], $order
+ assert_equal [:to_prepare, :after_initialize], $order
end
end
end