aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/abstract_unit.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a bunch of tests that failed in 1.9 because they assumed that a Rack ↵wycats2010-03-191-0/+13
| | | | response was a String.
* Modify assert_template to use instrumentationCarlhuda2010-03-171-41/+0
|
* Make many parts of Rails lazy. In order to facilitate this,wycats2010-03-071-1/+0
| | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook
* Deprecated ActionController::Base.session_options= and ↵Carlhuda2010-03-041-2/+1
| | | | ActionController::Base.session_store= in favor of a config.session_store method (which takes params) and a config.cookie_secret variable, which is used in various secret scenarios. The old AC::Base options will continue to work with deprecation warnings.
* Move the original config method onto AbstractControllerCarl Lerche2010-03-031-1/+1
|
* Start refactoring the method of configuring ActionViewCarlhuda2010-03-031-0/+15
|
* Fix failing Action Pack testsCarlhuda2010-03-021-0/+10
|
* add activesupport and activemodel load paths to actionpack testsJoshua Peek2010-02-281-0/+6
|
* Remove implicit controller namespacing from new dslJoshua Peek2010-02-281-3/+5
|
* If IntegrationSession is initialized with an objects that responds to ↵Carlhuda2010-02-261-0/+1
| | | | #routes, automatically extend the URL helpers from the RouteSet onto it
* Upon further reflection, we realized that SharedTestRoutes is not really a ↵Carlhuda2010-02-261-1/+0
| | | | | | | | 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
* Relatively speaking, it's not actually that bad...Carlhuda2010-02-261-2/+0
|
* Remove traces of SharedTestRoutes from user code; leave it as a standin for ↵Carlhuda2010-02-261-1/+0
| | | | Rails.application.routes in Rails internal tests
* Stop setting UrlFor using SharedTestHelpersCarlhuda2010-02-261-3/+3
|
* Rename named_url_helpers to url_helpers and url_helpers to url_forCarlhuda2010-02-261-1/+1
|
* WIP: Remove the global routerCarlhuda2010-02-251-21/+50
|
* Revert "Fix test load paths for those not using bundler"Carlhuda2010-02-231-7/+1
| | | | | | This reverts commit eec2d301d4ce9df9c71c1a5aa63053eb970b6818. This commit broke tests. You cannot have a file called "bundler" on the load path.
* Use ActionDispatch::Routing everywhereMartin Schürrer2010-02-211-9/+9
|
* Fix test load paths for those not using bundlerJoshua Peek2010-02-151-1/+7
|
* Get rails tests running on bundler 0.9Carl Lerche2010-01-311-10/+1
|
* Cookies middlewareJoshua Peek2010-01-161-0/+1
|
* Move Flash into middlewareJoshua Peek2010-01-151-0/+2
|
* Make HEAD method masquerade as GET so requests are routed correctlyJoshua Peek2010-01-151-1/+1
|
* Add subscriber for ActionPack and move all logging inside it.José Valim2010-01-131-26/+0
|
* Trash string coercion rack hacksJoshua Peek2010-01-041-1/+0
|
* Autoload AS test caseJoshua Peek2010-01-041-1/+0
|
* Autoload AC and AV test case classesJoshua Peek2010-01-041-1/+0
|
* Use namespaces in notifications.José Valim2010-01-031-1/+4
|
* Remove ActionView inline logging to ActiveSupport::Notifications and create ↵José Valim2009-12-261-0/+23
| | | | ActionController::Base#log_event, so everything can be logged within one listener. Also expose log_process_action as a hook for different modules to include their own information during the action processing. This allow ActiveRecord to hook and any other ORM. Finally, this commit changes 'Processing' and 'Rendering' in logs to 'Processed' and 'Rendered' because at the point it's logged, everying already happened.
* Fully expand relative rails framework paths and make sure we aren'tJoshua Peek2009-12-161-8/+7
| | | | adding any to the load path more than once.
* TestProcess belongs in ADJoshua Peek2009-12-121-1/+1
|
* Use new routing dsl in testsJoshua Peek2009-12-081-1/+1
|
* Find all controllers in memory to use for routingJoshua Peek2009-11-231-12/+0
|
* Avoid adding component lib/ to load path multiple timesJoshua Peek2009-11-091-1/+3
|
* Remove preflight lib check during AP tests. Bundler resolves this issueJoshua Peek2009-11-091-6/+0
|
* Don't warn me if I'm not using bundler to run testsJoshua Peek2009-11-091-1/+0
|
* Remark when bundled env require failsJeremy Kemper2009-11-091-0/+1
|
* Extract routing controller stub helper into abstract unitJoshua Peek2009-10-271-0/+20
|
* Always add actionpack/lib to load path for isolated testsJoshua Peek2009-10-211-1/+1
|
* Have all the tests running off a single GemfileYehuda Katz + Carl Lerche2009-10-201-8/+7
|
* Work around apparent bug in 1.9Yehuda Katz2009-10-151-2/+2
|
* Don't push siblings on load path if using bundled envJeremy Kemper2009-10-141-5/+8
|
* Coerce all out going body parts to StringsJoshua Peek2009-10-051-0/+1
|
* Only draw default route onceJoshua Peek2009-10-031-22/+37
|
* Redraw default routes on all internal integration tests. We don't need ↵Joshua Peek2009-10-031-10/+8
| | | | SimpleRouteCase anymore
* Changing directories during the test breaks file loading when ran by itselfJoshua Peek2009-10-031-0/+1
|
* Add custom "with_routing" to internal tests to fix reseting session after usingJoshua Peek2009-10-031-6/+27
| | | | with_routing. This only affects our internal AP tests.
* Allow setting a default application for all integration testsJoshua Peek2009-09-261-5/+7
|
* Move default middleware stack into initializerJoshua Peek2009-09-261-6/+7
|
* AC::Dispatcher is the default app, don't need to set itJoshua Peek2009-09-261-4/+0
|