aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
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 /activestorage
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 'activestorage')
-rw-r--r--activestorage/test/models/blob_test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/activestorage/test/models/blob_test.rb b/activestorage/test/models/blob_test.rb
index 57c6333401..9fd75a1b4a 100644
--- a/activestorage/test/models/blob_test.rb
+++ b/activestorage/test/models/blob_test.rb
@@ -2,8 +2,11 @@
require "test_helper"
require "database/setup"
+require "active_support/testing/method_call_assertions"
class ActiveStorage::BlobTest < ActiveSupport::TestCase
+ include ActiveSupport::Testing::MethodCallAssertions
+
test "unattached scope" do
[ create_blob(filename: "funky.jpg"), create_blob(filename: "town.jpg") ].tap do |blobs|
User.create! name: "DHH", avatar: blobs.first