diff options
Diffstat (limited to 'dev-ruby/activesupport/files/activesupport-2.3.5-mocha-0.9.5.patch')
-rw-r--r-- | dev-ruby/activesupport/files/activesupport-2.3.5-mocha-0.9.5.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/dev-ruby/activesupport/files/activesupport-2.3.5-mocha-0.9.5.patch b/dev-ruby/activesupport/files/activesupport-2.3.5-mocha-0.9.5.patch deleted file mode 100644 index 4b6381e337fd..000000000000 --- a/dev-ruby/activesupport/files/activesupport-2.3.5-mocha-0.9.5.patch +++ /dev/null @@ -1,18 +0,0 @@ -Index: activesupport-2.3.5/lib/active_support/testing/setup_and_teardown.rb -=================================================================== ---- activesupport-2.3.5.orig/lib/active_support/testing/setup_and_teardown.rb -+++ activesupport-2.3.5/lib/active_support/testing/setup_and_teardown.rb -@@ -45,12 +45,7 @@ module ActiveSupport - return if @method_name.to_s == "default_test" - - if using_mocha = respond_to?(:mocha_verify) -- assertion_counter_klass = if defined?(Mocha::TestCaseAdapter::AssertionCounter) -- Mocha::TestCaseAdapter::AssertionCounter -- else -- Mocha::Integration::TestUnit::AssertionCounter -- end -- assertion_counter = assertion_counter_klass.new(result) -+ assertion_counter = Mocha::Integration::TestUnit::AssertionCounter.new(result) - end - - yield(Test::Unit::TestCase::STARTED, name) |