aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/activerecord/controller_runtime_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Take into account time spent in AR even if a redirect occurs or if it is ↵Frederick Cheung2011-05-231-0/+26
| | | | after the render
* Reset ActiveRecord::LogSubscriber runtime at the start of each requestTom Ward2011-05-141-0/+13
| | | | Previously the runtime was reset implicitly when #cleanup_view_runtime was called at the end of most requests. However, this doesn't happen when the request redirects, or send_file is called. Consequently, the ActiveRecord runtime recorded in the logs included the time taken for both the current request and the previous redirect. Explicitly resetting at the start of each request ensures that this can't happen, no matter what occurs previously.
* Escape regex in controller_runtime_test to actually check that the ↵Tom Ward2011-05-141-1/+1
| | | | ActiveRecord message appears
* in regexps, the dot in a character class is not a metacharacterXavier Noria2010-10-151-1/+1
|
* Use parentheses when using assert_match followed by a regexp to avoid warnings.Emilio Tagua2010-09-271-2/+2
|
* Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵José Valim2010-06-241-5/+5
| | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved]
* Fix failing Action Pack testsCarlhuda2010-03-021-1/+1
|
* 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.
* 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
|
* 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.