From 0190dcae3c7d4dba5d8b322c04236feea22fc0f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Mon, 5 Nov 2012 15:12:09 -0200 Subject: [PATCH] Make the tests pass with minitest 4.2 --- activesupport/test/test_case_test.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/activesupport/test/test_case_test.rb b/activesupport/test/test_case_test.rb index c4653b1ae6e67..ab74d579fc259 100644 --- a/activesupport/test/test_case_test.rb +++ b/activesupport/test/test_case_test.rb @@ -16,6 +16,9 @@ def puke(klass, name, e) def options nil end + + def record(*args) + end end if defined?(MiniTest::Assertions) && TestCase < MiniTest::Assertions