summaryrefslogtreecommitdiff
path: root/spec/uploaders/content_type_whitelist_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/uploaders/content_type_whitelist_spec.rb')
-rw-r--r--spec/uploaders/content_type_whitelist_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/uploaders/content_type_whitelist_spec.rb b/spec/uploaders/content_type_whitelist_spec.rb
index be519ead1c8..4689f83759d 100644
--- a/spec/uploaders/content_type_whitelist_spec.rb
+++ b/spec/uploaders/content_type_whitelist_spec.rb
@@ -18,6 +18,7 @@ describe ContentTypeWhitelist do
let(:path) { File.join('spec', 'fixtures', 'rails_sample.jpg') }
it_behaves_like 'accepted carrierwave upload'
+ it_behaves_like 'upload with content type', 'image/jpeg'
end
context 'upload non-whitelisted file content type' do