diff --git a/spec/shared/models/acts_as_imageable.rb b/spec/shared/models/acts_as_imageable.rb index 3b18e6930..b4624372d 100644 --- a/spec/shared/models/acts_as_imageable.rb +++ b/spec/shared/models/acts_as_imageable.rb @@ -58,12 +58,4 @@ shared_examples "acts as imageable" do |imageable_factory| expect(image).not_to be_valid end end - - it "image destroy should remove image from file storage" do - image.save! - image_url = image.attachment.url - new_url = "/attachments/original/missing.png" - - expect { image.attachment.destroy }.to change { image.attachment.url }.from(image_url).to(new_url) - end end