提交 afe57dda 编写于 作者: R rohit 提交者: José Valim

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

Signed-off-by: NJosé Valim <jose.valim@gmail.com>
上级 edec1afe
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册