aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/activerecord
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-01-19 12:52:10 +0100
committerJosé Valim <jose.valim@gmail.com>2010-01-19 15:35:24 +0100
commita8e25a518ae8df1682c84affa3b986ca3627da12 (patch)
tree363327cc6832cd7b0f2727cebe6ed0c1fe30b831 /actionpack/test/activerecord
parent5a81dbf4894f112b73da160611c8be28b44c261f (diff)
downloadrails-a8e25a518ae8df1682c84affa3b986ca3627da12.tar.gz
rails-a8e25a518ae8df1682c84affa3b986ca3627da12.tar.bz2
rails-a8e25a518ae8df1682c84affa3b986ca3627da12.zip
Move parameters to the top on logging.
Diffstat (limited to 'actionpack/test/activerecord')
-rw-r--r--actionpack/test/activerecord/controller_runtime_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/activerecord/controller_runtime_test.rb b/actionpack/test/activerecord/controller_runtime_test.rb
index d6f7cd80ab..37c7738301 100644
--- a/actionpack/test/activerecord/controller_runtime_test.rb
+++ b/actionpack/test/activerecord/controller_runtime_test.rb
@@ -37,8 +37,8 @@ module ControllerRuntimeSubscriberTest
get :show
wait
- assert_equal 1, @logger.logged(:info).size
- assert_match /\(Views: [\d\.]+ms | ActiveRecord: [\d\.]+ms\)/, @logger.logged(:info)[0]
+ assert_equal 2, @logger.logged(:info).size
+ assert_match /\(Views: [\d\.]+ms | ActiveRecord: [\d\.]+ms\)/, @logger.logged(:info)[1]
end
class SyncSubscriberTest < ActionController::TestCase