1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test
Carlhuda be0bf10a3c Upon further reflection, we realized that SharedTestRoutes is not really a hack, but is instead a standin (in the Rails tests) for Rails.application.routes.
* In a real application, action_controller/railties.rb does AC::Base.include(app.routes.url_helpers)
  * ActionController itself does not know about Rails.application, but instead can have named routes for any router
  * SharedTestRoutes are created in abstract_unit to stand in for Rails.application.routes, and is used in
    internal functional tests
2010-02-26 16:06:54 -08:00
..
abstract Renamed LocalizedCache to DetailsCache. 2010-02-24 22:17:26 +01:00
activerecord Stop setting UrlFor using SharedTestHelpers 2010-02-26 15:40:36 -08:00
controller Setting UrlFor in with_routing is no longer needed now that it's not global 2010-02-26 15:56:38 -08:00
dispatch Rename named_url_helpers to url_helpers and url_helpers to url_for 2010-02-26 15:04:50 -08:00
fixtures Fix render :file => "#{Rails.root}/public/404.html", :status => :not_found. Closes #8994 2010-02-23 22:45:42 -08:00
lib Require persisted? in ActiveModel::Lint and remove new_record? and destroyed? methods. ActionPack does not care if the resource is new or if it was destroyed, it cares only if it's persisted somewhere or not. 2010-02-21 11:12:14 +01:00
template Silence test deprecation warnings 2010-02-26 15:34:12 -08:00
tmp Use safe tmp dir 2009-08-13 21:03:25 -05:00
abstract_unit.rb Upon further reflection, we realized that SharedTestRoutes is not really a hack, but is instead a standin (in the Rails tests) for Rails.application.routes. 2010-02-26 16:06:54 -08:00
active_record_unit.rb Autoload AR test case 2010-01-04 16:50:01 -06:00
ts_isolated.rb Give useful test:isolated failures 2009-11-04 12:44:06 -08:00