提交 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 ...@@ -66,7 +66,7 @@ def setup
RUBY RUBY
require "#{app_path}/config/environment" require "#{app_path}/config/environment"
assert [:to_prepare, :after_initialize], $order assert_equal [:to_prepare, :after_initialize], $order
end end
test "after_initialize happens after to_prepare in production" do test "after_initialize happens after to_prepare in production" do
...@@ -80,7 +80,7 @@ def setup ...@@ -80,7 +80,7 @@ def setup
require "#{app_path}/config/application" require "#{app_path}/config/application"
Rails.env.replace "production" Rails.env.replace "production"
require "#{app_path}/config/environment" require "#{app_path}/config/environment"
assert [:to_prepare, :after_initialize], $order assert_equal [:to_prepare, :after_initialize], $order
end end
end end
end end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册