mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fixed two failing tests in railties on 1.9.2-head [#4609 state:commited]
Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user