Updates rubocop

This commit is contained in:
erwanlr
2020-08-06 11:43:26 +02:00
parent a506adcb64
commit 557dee2d8c
12 changed files with 23 additions and 17 deletions

View File

@@ -14,8 +14,8 @@ shared_examples 'App::Views::Enumeration::Medias' do
end
context 'when medias found' do
let(:m1) { media.new(target_url + '?attachment_id=1', found_by: 'Attachment Brute Forcing') }
let(:m2) { media.new(target_url + '?attachment_id=5', found_by: 'Attachment Brute Forcing') }
let(:m1) { media.new("#{target_url}?attachment_id=1", found_by: 'Attachment Brute Forcing') }
let(:m2) { media.new("#{target_url}?attachment_id=5", found_by: 'Attachment Brute Forcing') }
let(:medias) { [m1, m2] }
let(:expected_view) { File.join(view, 'medias') }