aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2019-08-02 03:01:53 +0900
committerAkira Matsuda <ronnie@dio.jp>2019-08-02 05:36:15 +0900
commit98d0f7ebd34b858f12a12dcf37ae54fdbb5cab64 (patch)
treece30f34316c75c31226650e2926aa4dd8f034be4 /activestorage
parent4f1bd290f0d834b30976b6c08bcee9b15c13b2ad (diff)
downloadrails-98d0f7ebd34b858f12a12dcf37ae54fdbb5cab64.tar.gz
rails-98d0f7ebd34b858f12a12dcf37ae54fdbb5cab64.tar.bz2
rails-98d0f7ebd34b858f12a12dcf37ae54fdbb5cab64.zip
MethodCallAssertions is a regular player of the team ActiveSupport::TestCase now
It's used everywhere, clean and mature enough
Diffstat (limited to 'activestorage')
-rw-r--r--activestorage/test/models/blob_test.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/activestorage/test/models/blob_test.rb b/activestorage/test/models/blob_test.rb
index 9fd75a1b4a..57c6333401 100644
--- a/activestorage/test/models/blob_test.rb
+++ b/activestorage/test/models/blob_test.rb
@@ -2,11 +2,8 @@
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