aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorRafael Mendonça França <rafael@franca.dev>2019-08-02 00:24:21 -0400
committerRafael Mendonça França <rafael@franca.dev>2019-08-02 00:24:21 -0400
commit967beb7229e29c7d09fc3a5bc8205d2a6119e1c5 (patch)
tree48fd29296e0c353ca856e72ce084387b6512ff7e /activemodel
parent6384933994a494a1ea44cb51609534c1ccf639e4 (diff)
downloadrails-967beb7229e29c7d09fc3a5bc8205d2a6119e1c5.tar.gz
rails-967beb7229e29c7d09fc3a5bc8205d2a6119e1c5.tar.bz2
rails-967beb7229e29c7d09fc3a5bc8205d2a6119e1c5.zip
Revert "MethodCallAssertions is a regular player of the team ActiveSupport::TestCase now"
This reverts commit 98d0f7ebd34b858f12a12dcf37ae54fdbb5cab64.
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/test/cases/helper.rb3
1 files changed, 3 insertions, 0 deletions
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 = "")