diff options
-rw-r--r-- | railties/test/application/load_test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/test/application/load_test.rb b/railties/test/application/load_test.rb index 5158abdbb4..305cd7f273 100644 --- a/railties/test/application/load_test.rb +++ b/railties/test/application/load_test.rb @@ -43,6 +43,13 @@ module ApplicationTests assert Rails.application.new.is_a?(Rails::Application) end + # Passenger still uses AC::Dispatcher, so we need to + # keep it working for now + test "deprecated ActionController::Dispatcher still works" do + rackup + assert ActionController::Dispatcher.new.is_a?(Rails::Application) + end + test "the config object is available on the application object" do rackup assert_equal 'UTC', Rails.application.config.time_zone |