aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/log_subscriber_test.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2012-05-17 08:52:40 +0200
committerJosé Valim <jose.valim@gmail.com>2012-05-17 08:52:40 +0200
commit313f292e27bfb093a59b8aee4d606f2c63391c7c (patch)
tree48e19dea03f3a6ef726d0ea2752c1ed6ec466a36 /activesupport/test/log_subscriber_test.rb
parent6057a1d9d2522e27e8c9f2f44aab8cd2815f24da (diff)
downloadrails-313f292e27bfb093a59b8aee4d606f2c63391c7c.tar.gz
rails-313f292e27bfb093a59b8aee4d606f2c63391c7c.tar.bz2
rails-313f292e27bfb093a59b8aee4d606f2c63391c7c.zip
Ensure blocks given to subscriber are properly yield
Diffstat (limited to 'activesupport/test/log_subscriber_test.rb')
-rw-r--r--activesupport/test/log_subscriber_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/log_subscriber_test.rb b/activesupport/test/log_subscriber_test.rb
index 8e160714b1..2a0e8d20ed 100644
--- a/activesupport/test/log_subscriber_test.rb
+++ b/activesupport/test/log_subscriber_test.rb
@@ -11,7 +11,7 @@ class MyLogSubscriber < ActiveSupport::LogSubscriber
def foo(event)
debug "debug"
- info "info"
+ info { "info" }
warn "warn"
end