diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-18 16:15:43 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-18 17:33:45 -0700 |
commit | 07f733c6315980bde120c98c6b8a25e2773ee6bf (patch) | |
tree | 2b6fce7621af540ee6b4b07388c58cacd3a83481 /actionpack/test | |
parent | ee5520a0a5ea83843ce88f6b9550e3c36b8cdd49 (diff) | |
download | rails-07f733c6315980bde120c98c6b8a25e2773ee6bf.tar.gz rails-07f733c6315980bde120c98c6b8a25e2773ee6bf.tar.bz2 rails-07f733c6315980bde120c98c6b8a25e2773ee6bf.zip |
Ported simple benchmarking in new base
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/logging_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/test/controller/logging_test.rb b/actionpack/test/controller/logging_test.rb index 1f3ff4ef52..75afa2d133 100644 --- a/actionpack/test/controller/logging_test.rb +++ b/actionpack/test/controller/logging_test.rb @@ -11,6 +11,11 @@ class LoggingTest < ActionController::TestCase class MockLogger attr_reader :logged + attr_accessor :level + + def initialize + @level = Logger::DEBUG + end def method_missing(method, *args) @logged ||= [] |