From 967beb7229e29c7d09fc3a5bc8205d2a6119e1c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Fri, 2 Aug 2019 00:24:21 -0400 Subject: Revert "MethodCallAssertions is a regular player of the team ActiveSupport::TestCase now" This reverts commit 98d0f7ebd34b858f12a12dcf37ae54fdbb5cab64. --- activemodel/test/cases/helper.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'activemodel') diff --git a/activemodel/test/cases/helper.rb b/activemodel/test/cases/helper.rb index 483a108bda..c6335ac9e3 100644 --- a/activemodel/test/cases/helper.rb +++ b/activemodel/test/cases/helper.rb @@ -9,9 +9,12 @@ ActiveSupport::Deprecation.debug = true I18n.enforce_available_locales = false require "active_support/testing/autorun" +require "active_support/testing/method_call_assertions" require "active_support/core_ext/integer/time" class ActiveModel::TestCase < ActiveSupport::TestCase + include ActiveSupport::Testing::MethodCallAssertions + private # Skips the current run on Rubinius using Minitest::Assertions#skip def rubinius_skip(message = "") -- cgit v1.2.3