mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05: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:
parent
edec1afe25
commit
afe57dda26
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue