diff options
author | George Claghorn <george@basecamp.com> | 2018-08-19 01:10:50 -0400 |
---|---|---|
committer | George Claghorn <george@basecamp.com> | 2018-08-19 01:10:50 -0400 |
commit | 116fae6ef994dcc46d334a2dd652c1d7e977468e (patch) | |
tree | 14467611397224e34b2384da38598d6d93503fc4 /activestorage | |
parent | 274a9c772f90d3f9161a265243818e81b1a08461 (diff) | |
download | rails-116fae6ef994dcc46d334a2dd652c1d7e977468e.tar.gz rails-116fae6ef994dcc46d334a2dd652c1d7e977468e.tar.bz2 rails-116fae6ef994dcc46d334a2dd652c1d7e977468e.zip |
Remove superfluous test
This test no longer covers the behavior of ActiveStorage::PurgeJob. Attached blobs are ignored by ActiveStorage::Blob#purge as of 934fccd, which includes an equivalent model test.
Diffstat (limited to 'activestorage')
-rw-r--r-- | activestorage/test/jobs/purge_job_test.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/activestorage/test/jobs/purge_job_test.rb b/activestorage/test/jobs/purge_job_test.rb index ed4100b78d..251022a96f 100644 --- a/activestorage/test/jobs/purge_job_test.rb +++ b/activestorage/test/jobs/purge_job_test.rb @@ -24,14 +24,4 @@ class ActiveStorage::PurgeJobTest < ActiveJob::TestCase end end end - - test "ignores attached blob" do - User.create! name: "DHH", avatar: @blob - - perform_enqueued_jobs do - assert_nothing_raised do - ActiveStorage::PurgeJob.perform_later @blob - end - end - end end |