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

@@ -13,8 +13,8 @@ describe WPScan::Finders::Medias::AttachmentBruteForcing do
describe '#target_urls' do
it 'returns the expected urls' do
expect(finder.target_urls(range: (1..2))).to eql(
url + '?attachment_id=1' => 1,
url + '?attachment_id=2' => 2
"#{url}?attachment_id=1" => 1,
"#{url}?attachment_id=2" => 2
)
end
end