parent
c2fe0adacd
commit
ecfe63bec5
@ -0,0 +1,27 @@
|
|||||||
|
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
|
||||||
|
|
Loading…
Reference in new issue