aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/url_generation_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/test/application/url_generation_test.rb')
-rw-r--r--railties/test/application/url_generation_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/test/application/url_generation_test.rb b/railties/test/application/url_generation_test.rb
index 0905757442..efbc853d7b 100644
--- a/railties/test/application/url_generation_test.rb
+++ b/railties/test/application/url_generation_test.rb
@@ -12,6 +12,7 @@ module ApplicationTests
boot_rails
require "rails"
require "action_controller/railtie"
+ require "action_view/railtie"
class MyApp < Rails::Application
config.secret_key_base = "3b7cd727ee24e8444053437c36cc66c4"
@@ -20,7 +21,7 @@ module ApplicationTests
config.eager_load = false
end
- MyApp.initialize!
+ Rails.application.initialize!
class ::ApplicationController < ActionController::Base
end