summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/email/attachment_uploader_spec.rb
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-07-08 18:30:32 +0200
committerRémy Coutable <remy@rymai.me>2016-07-19 18:51:09 +0200
commit356b2d2bd782289b6130a22531523562514aa7f6 (patch)
tree00f8178683d6837bf65edb49153c2c62b4cbaf23 /spec/lib/gitlab/email/attachment_uploader_spec.rb
parentc266c7fa18848586cd6ee903cc4c4d4f9049100e (diff)
downloadgitlab-ce-356b2d2bd782289b6130a22531523562514aa7f6.tar.gz
Get rid of `is_image` in FileUploader
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/lib/gitlab/email/attachment_uploader_spec.rb')
-rw-r--r--spec/lib/gitlab/email/attachment_uploader_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/lib/gitlab/email/attachment_uploader_spec.rb b/spec/lib/gitlab/email/attachment_uploader_spec.rb
index 476a21bf996..08b2577ecc4 100644
--- a/spec/lib/gitlab/email/attachment_uploader_spec.rb
+++ b/spec/lib/gitlab/email/attachment_uploader_spec.rb
@@ -11,7 +11,6 @@ describe Gitlab::Email::AttachmentUploader, lib: true do
link = links.first
expect(link).not_to be_nil
- expect(link[:is_image]).to be_truthy
expect(link[:alt]).to eq("bricks")
expect(link[:url]).to include("bricks.png")
end