diff options
author | Rémy Coutable <remy@rymai.me> | 2016-07-08 19:30:32 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-07-19 19:51:09 +0300 |
commit | 356b2d2bd782289b6130a22531523562514aa7f6 (patch) | |
tree | 00f8178683d6837bf65edb49153c2c62b4cbaf23 /spec/lib/gitlab/email | |
parent | c266c7fa18848586cd6ee903cc4c4d4f9049100e (diff) |
Get rid of `is_image` in FileUploader
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/lib/gitlab/email')
-rw-r--r-- | spec/lib/gitlab/email/attachment_uploader_spec.rb | 1 | ||||
-rw-r--r-- | spec/lib/gitlab/email/receiver_spec.rb | 1 |
2 files changed, 0 insertions, 2 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 diff --git a/spec/lib/gitlab/email/receiver_spec.rb b/spec/lib/gitlab/email/receiver_spec.rb index 36267faeb93..84d2584a791 100644 --- a/spec/lib/gitlab/email/receiver_spec.rb +++ b/spec/lib/gitlab/email/receiver_spec.rb @@ -115,7 +115,6 @@ describe Gitlab::Email::Receiver, lib: true do [ { url: "uploads/image.png", - is_image: true, alt: "image", markdown: markdown } |