diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2008-04-30 15:00:15 -0500 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-04-30 15:00:15 -0500 |
commit | d327496ab7499d7000f4a6c57173219a8738bed0 (patch) | |
tree | bd93b977bc6971f5859fc9120279803688a8a66b /actionpack/lib | |
parent | 56861af7339559dd66a9cf38150fc2a2d0c9931c (diff) | |
download | rails-d327496ab7499d7000f4a6c57173219a8738bed0.tar.gz rails-d327496ab7499d7000f4a6c57173219a8738bed0.tar.bz2 rails-d327496ab7499d7000f4a6c57173219a8738bed0.zip |
Fixed tests (and the weird assumption that no logger would mean that the code wasnt run)
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/benchmark_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/benchmark_helper.rb b/actionpack/lib/action_view/helpers/benchmark_helper.rb index c278a38f25..743d1d40ec 100644 --- a/actionpack/lib/action_view/helpers/benchmark_helper.rb +++ b/actionpack/lib/action_view/helpers/benchmark_helper.rb @@ -23,7 +23,7 @@ module ActionView def benchmark(message = "Benchmarking", level = :info) if controller.logger real = Benchmark.realtime { yield } - controller.logger.send level, "#{message} (#{'%.5f' % real})" + controller.logger.send(level, "#{message} (#{'%.5f' % real})") else yield end |