aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/generators_test_helper.rb
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 /railties/test/generators/generators_test_helper.rb
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 'railties/test/generators/generators_test_helper.rb')
-rw-r--r--railties/test/generators/generators_test_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/test/generators/generators_test_helper.rb b/railties/test/generators/generators_test_helper.rb
index c68ba46a9a..8b42cb83db 100644
--- a/railties/test/generators/generators_test_helper.rb
+++ b/railties/test/generators/generators_test_helper.rb
@@ -3,6 +3,7 @@
require "abstract_unit"
require "active_support/core_ext/module/remove_method"
require "active_support/testing/stream"
+require "active_support/testing/method_call_assertions"
require "rails/generators"
require "rails/generators/test_case"
@@ -27,6 +28,7 @@ require "action_view"
module GeneratorsTestHelper
include ActiveSupport::Testing::Stream
+ include ActiveSupport::Testing::MethodCallAssertions
GemfileEntry = Struct.new(:name, :version, :comment, :options, :commented_out) do
def initialize(name, version, comment, options = {}, commented_out = false)