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

@@ -15,8 +15,8 @@ shared_examples 'App::Views::Enumeration::Timthumbs' do
end
context 'when timthumbs found' do
let(:tt) { timthumb.new(target_url + 'tt.php', found_by: 'Known Locations') }
let(:tt2) { timthumb.new(target_url + 'tt2.php', found_by: 'Known Locations') }
let(:tt) { timthumb.new("#{target_url}tt.php", found_by: 'Known Locations') }
let(:tt2) { timthumb.new("#{target_url}tt2.php", found_by: 'Known Locations') }
let(:timthumbs) { [tt, tt2] }
context 'when not vulnerable' do