aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing/performance.rb
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-05-10 03:29:46 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-05-10 03:29:46 -0500
commit039917b4086c3567f298716114301b161bb5b1fe (patch)
tree39243976411d465ee1d088b01392506e17a81dea /activesupport/lib/active_support/testing/performance.rb
parentffa1c72d1d238b4c1b73aeb6a387d0f331a97f2c (diff)
downloadrails-039917b4086c3567f298716114301b161bb5b1fe.tar.gz
rails-039917b4086c3567f298716114301b161bb5b1fe.tar.bz2
rails-039917b4086c3567f298716114301b161bb5b1fe.zip
Remove key argument from run_callbacks to fix build
Diffstat (limited to 'activesupport/lib/active_support/testing/performance.rb')
-rw-r--r--activesupport/lib/active_support/testing/performance.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/performance.rb b/activesupport/lib/active_support/testing/performance.rb
index 244ee1a224..f6bf0318f7 100644
--- a/activesupport/lib/active_support/testing/performance.rb
+++ b/activesupport/lib/active_support/testing/performance.rb
@@ -61,7 +61,7 @@ module ActiveSupport
ensure
begin
teardown
- run_callbacks :teardown, :enumerator => :reverse_each
+ run_callbacks :teardown
rescue Exception => e
result = @runner.puke(self.class, method_name, e)
end