Skip to content

Commit afe57dd

Browse files
rohitjosevalim
rohit
authored andcommitted
Fixed two failing tests in railties on 1.9.2-head [rails#4609 state:commited]
Signed-off-by: José Valim <[email protected]>
1 parent edec1af commit afe57dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

railties/test/application/initializers/hooks_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def setup
6666
RUBY
6767

6868
require "#{app_path}/config/environment"
69-
assert [:to_prepare, :after_initialize], $order
69+
assert_equal [:to_prepare, :after_initialize], $order
7070
end
7171

7272
test "after_initialize happens after to_prepare in production" do
@@ -80,7 +80,7 @@ def setup
8080
require "#{app_path}/config/application"
8181
Rails.env.replace "production"
8282
require "#{app_path}/config/environment"
83-
assert [:to_prepare, :after_initialize], $order
83+
assert_equal [:to_prepare, :after_initialize], $order
8484
end
8585
end
8686
end

0 commit comments

Comments
 (0)