aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
diff options
context:
space:
mode:
Diffstat (limited to 'railties/test/application')
-rw-r--r--railties/test/application/initializers/hooks_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/initializers/hooks_test.rb b/railties/test/application/initializers/hooks_test.rb
index 1316bf6ee2..198abbe861 100644
--- a/railties/test/application/initializers/hooks_test.rb
+++ b/railties/test/application/initializers/hooks_test.rb
@@ -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