提交 444ba150 编写于 作者: J Joshua Peek

Put test in place for deprecated dispatcher

上级 635aa912
......@@ -43,6 +43,13 @@ def setup
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册