diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-10-27 09:34:17 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-10-27 09:34:17 -0700 |
commit | b30294b54ab019b0e53402c6927981f8c306e976 (patch) | |
tree | 6c39cdae49874ed473586d88a7707453d6e33514 | |
parent | c3fa20883e667ce2e7ce207ce8f08ba64f7dcf23 (diff) | |
download | rails-b30294b54ab019b0e53402c6927981f8c306e976.tar.gz rails-b30294b54ab019b0e53402c6927981f8c306e976.tar.bz2 rails-b30294b54ab019b0e53402c6927981f8c306e976.zip |
Fix broken tests
-rw-r--r-- | activesupport/lib/active_support/notifications.rb | 1 | ||||
-rw-r--r-- | railties/test/application/notifications_test.rb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/notifications.rb b/activesupport/lib/active_support/notifications.rb index 8e705a4eaa..139c66b1e1 100644 --- a/activesupport/lib/active_support/notifications.rb +++ b/activesupport/lib/active_support/notifications.rb @@ -1,6 +1,7 @@ require 'thread' require 'active_support/core_ext/module/delegation' require 'active_support/core_ext/module/attribute_accessors' +require 'active_support/secure_random' module ActiveSupport # Notifications provides an instrumentation API for Ruby. To instrument an diff --git a/railties/test/application/notifications_test.rb b/railties/test/application/notifications_test.rb index 83c18be057..62ed4f4ad4 100644 --- a/railties/test/application/notifications_test.rb +++ b/railties/test/application/notifications_test.rb @@ -12,7 +12,7 @@ module ApplicationTests @subscribers = [] end - def publish(name, payload=nil) + def publish(name, *args) @events << name end |