aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/activerecord
Commit message (Collapse)AuthorAgeFilesLines
* Consistent routing languageJoshua Peek2010-03-301-82/+82
|
* Fix failing Action Pack testsCarlhuda2010-03-021-1/+1
|
* Stop setting UrlFor using SharedTestHelpersCarlhuda2010-02-261-1/+1
|
* Rename named_url_helpers to url_helpers and url_helpers to url_forCarlhuda2010-02-261-3/+3
|
* Fix all of AP's tests with the non global routerCarlhuda2010-02-251-3/+3
|
* Revert "Fix test load paths for those not using bundler"Carlhuda2010-02-231-5/+2
| | | | | | 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-3/+3
|
* Merge master.José Valim2010-02-171-2/+5
|\
| * Fix test load paths for those not using bundlerJoshua Peek2010-02-151-3/+6
| |
* | Rename Rails::Subscriber to Rails::LogSubscriberPrem Sichanugrist2010-02-161-8/+8
|/
* Default to sync instrumentation.José Valim2010-01-211-15/+4
|
* Move parameters to the top on logging.José Valim2010-01-191-2/+2
|
* Add ActionDispatch::Railties::Subscriber and finish tidying up the logging.José Valim2010-01-171-2/+2
|
* Tidy up ActiveRecord and Views runtime information on process action logger.José Valim2010-01-141-2/+2
|
* ControllerRuntime tests also use Rails::Subscriber::TestHelper.José Valim2010-01-131-17/+32
|
* From now on, parameters defined in default_url_options can be absent from ↵José Valim2010-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | named routes. This allows the following setup to work: # app/controllers/application_controller.rb class ApplicationController def default_url_options(options=nil) { :locale => I18n.locale } end end # From your views and controllers: I18n.locale #=> :en users_url #=> "/en/users" users_url(:pl) #=> "/pl/users" user_url(1) #=> "/en/users/1" user_url(:pl, 1) #=> "/pl/users/1" user_url(1, :locale => :pl) #=> "/pl/users/1" If you provide all expected parameters, it still works as previously. But if any parameter is missing, it tries to assign all possible ones with the hash returned in default_url_options or the one passed straight to the named route method. Beware that default_url_options in ApplicationController is not shared with ActionMailer, so you are required to always give the locale in your email views.
* Ensure no notification is on the queue before running notifications related ↵José Valim2010-01-031-0/+2
| | | | tests.
* Use namespaces in notifications.José Valim2010-01-031-4/+1
|
* Fix controller runtime testJeremy Kemper2009-12-301-2/+2
|
* Kick AR logging back to life and move ControllerRuntime inside ↵José Valim2009-12-301-0/+39
| | | | ActiveRecord::Rails.
* Use new routing dsl in testsJoshua Peek2009-12-081-1/+1
|
* Make polymorphic_url work with symbols again and refactor it [#1384 ↵José Valim2009-10-281-8/+6
| | | | | | status:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Add custom "with_routing" to internal tests to fix reseting session after usingJoshua Peek2009-10-031-1/+0
| | | | with_routing. This only affects our internal AP tests.
* Allow integration test rack app to be set with "@app" ivar instead of using ↵Joshua Peek2009-09-261-8/+5
| | | | open_session
* Clean up session integration tests so they don't reference AC::DispatcherJoshua Peek2009-09-261-21/+6
|
* Need to reset session for AR session tests after altering the route setJoshua Peek2009-09-061-0/+1
|
* Reset session in integration tests after changing routes to reload the ↵Joshua Peek2009-08-271-11/+14
| | | | middleware stack
* Polymorphic routes generates collection URL from model class [#1089 ↵Niklas Holmgren2009-08-081-0/+31
| | | | | | | state:resolved] Signed-off-by: Dan Pickett <dpickett@enlightsolutions.com> Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add destroyed? to ActiveRecord, include tests for polymorphic urls for ↵José Valim2009-08-071-1/+23
| | | | destroyed objects and refactor mime responds tests and documentation.
* AMo conversion helperJoshua Peek2009-07-211-1/+2
|
* Define ActiveModel API ComplianceYehuda Katz2009-07-201-1/+1
| | | | | | - Define to_model on AR - Define to_model on ActiveModel::APICompliant - Update test fixtures to be API Compliant - Start using to_model in AP
* Fix polymorphic_path doesn't modify options hash [#2099 state:resolved]=?utf-8?q?Mislav=20Marohni=C4=87?=2009-06-211-3/+6
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Move model naming into ActiveModelJoshua Peek2009-06-171-0/+1
|
* Revert "Only save the session if we're actually writing to it [#2703 ↵Joshua Peek2009-05-301-22/+0
| | | | | | state:resolved]" This reverts commit dd98280e38d640f5724887cf8a715b79f0439d2d.
* Only save the session if we're actually writing to it [#2703 state:resolved]Johan Sörensen2009-05-281-0/+22
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix reset_session with ActiveRecord store [#2200 state:resolved]Joshua Peek2009-05-171-3/+3
|
* Merge commit 'origin/master'Yehuda Katz + Carl Lerche2009-05-141-0/+1
| | | | | | Conflicts: actionpack/lib/action_controller/abstract/base.rb actionpack/lib/action_controller/routing.rb
* Make it clearer that session is nilJeremy Kemper2009-04-261-0/+1
|
* Remove excess mocking from polymorphic_url tests [#2330 state:resolved]Mike Gunderloy2009-04-211-0/+394
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure SqlBypass use ActiveRecord::Base connectionLuca Guidi2009-04-051-17/+28
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#https://rails.lighthouseapp.com/attachments/106066/0001-Ensure-SqlBypass-use-ActiveRecord-Base-connection.patch state:committed]
* reset_session should force a new session id to be generated [#2173]Joshua Peek2009-03-091-0/+25
|
* Fixed reset_session for ActiveRecord session store [#2108 state:resolved]Joshua Peek2009-03-031-0/+21
|
* Don't depend on project.developers orderingJeremy Kemper2009-02-211-2/+2
|
* Switch to Rack based session stores.Joshua Peek2008-12-151-107/+95
|
* Use autoload instead of explicit requires for ActionControllerJoshua Peek2008-11-231-1/+0
|
* Update AR integration tests for TestCase changesJeremy Kemper2008-11-071-12/+3
|
* Move controller assertions from base TestCase to AC:: and AV::TestCaseJeremy Kemper2008-11-071-7/+0
|
* Ensure :partial => @collection and :collection => @collection behaves same. ↵Ryan Bates2008-08-221-0/+10
| | | | | | [#884 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Set global ActionController::Base.view_paths for test casesJoshua Peek2008-07-121-8/+0
|
* Improve test coverage and create fixtures for ↵Joshua Peek2008-07-121-0/+9
| | | | RenderPartialWithRecordIdentificationTests