rails/rails — pull request #10902 by wangjohn (2013-06-10 07:19:52+00:00)
Title: Calls to the application constant have been refactored

Instead of using ``AppTemplate::Application`` when drawing routes or creating configurations
on the application, I'm changing to use ``Rails.application`` which is more agnostic.

Doing this means that in the future, if the Rails application is no longer a singleton, you'll still be able to use the tests by calling the canonical rails application instance.