summaryrefslogtreecommitdiff
path: root/spec/uploaders
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2018-06-15 12:28:23 +0200
committerDouwe Maan <douwe@selenight.nl>2018-06-15 12:28:23 +0200
commit5fc3b8a08d9264eedbf886c45b4ef7b418df380d (patch)
tree43a12031b52f267237f2539b42815c33061f82ea /spec/uploaders
parenta8445cc29d81f8d8169e93cd4ef6692aa0fef1fb (diff)
downloadgitlab-ce-5fc3b8a08d9264eedbf886c45b4ef7b418df380d.tar.gz
Remove FaviconUploader favicon_main versiondm-remove-favicon-main-version
See https://gitlab.com/gitlab-org/gitlab-ce/issues/47677 for more information
Diffstat (limited to 'spec/uploaders')
-rw-r--r--spec/uploaders/favicon_uploader_spec.rb29
1 files changed, 0 insertions, 29 deletions
diff --git a/spec/uploaders/favicon_uploader_spec.rb b/spec/uploaders/favicon_uploader_spec.rb
deleted file mode 100644
index 37deea8ab90..00000000000
--- a/spec/uploaders/favicon_uploader_spec.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-require 'spec_helper'
-
-RSpec.describe FaviconUploader do
- include CarrierWave::Test::Matchers
-
- let(:uploader) { described_class.new(build_stubbed(:user)) }
-
- after do
- uploader.remove!
- end
-
- def upload_fixture(filename)
- fixture_file_upload("spec/fixtures/#{filename}")
- end
-
- context 'versions' do
- before do
- uploader.store!(upload_fixture('dk.png'))
- end
-
- it 'has the correct format' do
- expect(uploader.favicon_main).to be_format('png')
- end
-
- it 'has the correct dimensions' do
- expect(uploader.favicon_main).to have_dimensions(32, 32)
- end
- end
-end