Skip to content

Commit

Permalink
Fixed two failing tests in railties on 1.9.2-head [#4609 state:commited]
Browse files Browse the repository at this point in the history
Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information
rohitarondekar authored and josevalim committed May 16, 2010
1 parent edec1af commit afe57dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions railties/test/application/initializers/hooks_test.rb
Expand Up @@ -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
Expand All @@ -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.