Permalink
Browse files

Fixed two failing tests in railties on 1.9.2-head [#4609 state:commited]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent edec1af commit afe57dda26b8ca8484a90801a0fd378dad60e180 @rohit rohit committed with josevalim May 16, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/test/application/initializers/hooks_test.rb
@@ -66,7 +66,7 @@ def setup
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 @@ def setup
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

0 comments on commit afe57dd

Please sign in to comment.