You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rubygem-activesupport/activesupport-4.0.0-Make-th...

28 lines
753 B

From ae6d2efd844cc6cf6822fe424d8e09c510153c90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?=
<rafaelmfranca@gmail.com>
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 c02bfa8..64426d0 100644
--- a/activesupport/test/test_case_test.rb
+++ b/activesupport/test/test_case_test.rb
@@ -16,6 +16,9 @@ module ActiveSupport
def options
nil
end
+
+ def record(*args)
+ end
end
if defined?(MiniTest::Assertions) && TestCase < MiniTest::Assertions
--
1.8.0.1