Permalink
Browse files

Make the tests pass with minitest 4.2

  • Loading branch information...
1 parent ce9b6ad commit ae6d2efd844cc6cf6822fe424d8e09c510153c90 @rafaelfranca rafaelfranca committed Nov 5, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 activesupport/test/test_case_test.rb
@@ -16,6 +16,9 @@ def puke(klass, name, e)
def options
nil
end
+
+ def record(*args)
+ end
end
def test_standard_error_raised_within_setup_callback_is_puked

4 comments on commit ae6d2ef

Contributor

zenspider replied Nov 8, 2012

Curious, what was broken before this?

Owner

rafaelfranca replied Nov 8, 2012

test_standard_error_raised_within_setup_callback_is_puked(ActiveSupport::TestCaseTest):
NoMethodError: undefined method `record' for #<ActiveSupport::TestCaseTest::FakeRunner:0x9f1d3e0 @puked=[]>
    /home/travis/builds/rails/rails/activesupport/test/test_case_test.rb:34:in `test_standard_error_raised_within_setup_callback_is_puked

https://next.travis-ci.org/rails/rails/jobs/3068255

THe culprit is seattlerb/minitest@5ff959c#L0R1262

Contributor

zenspider replied Nov 9, 2012

Owner

rafaelfranca replied Nov 9, 2012

Because before that commit it was not being used in the run method.

Please sign in to comment.