Fix RSpec/MetadataStyle
cop in spec/ (#27729)
This commit is contained in:
parent
e4e752c26e
commit
949f5eb860
8 changed files with 11 additions and 11 deletions
|
@ -127,19 +127,19 @@ RSpec.describe 'Media' do
|
|||
end
|
||||
end
|
||||
|
||||
context 'with image/jpeg', paperclip_processing: true do
|
||||
context 'with image/jpeg', :paperclip_processing do
|
||||
let(:params) { { file: fixture_file_upload('attachment.jpg', 'image/jpeg'), description: 'jpeg image' } }
|
||||
|
||||
it_behaves_like 'a successful media upload', 'image'
|
||||
end
|
||||
|
||||
context 'with image/gif', paperclip_processing: true do
|
||||
context 'with image/gif', :paperclip_processing do
|
||||
let(:params) { { file: fixture_file_upload('attachment.gif', 'image/gif') } }
|
||||
|
||||
it_behaves_like 'a successful media upload', 'image'
|
||||
end
|
||||
|
||||
context 'with video/webm', paperclip_processing: true do
|
||||
context 'with video/webm', :paperclip_processing do
|
||||
let(:params) { { file: fixture_file_upload('attachment.webm', 'video/webm') } }
|
||||
|
||||
it_behaves_like 'a successful media upload', 'gifv'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue