This commit is contained in:
erwanlr
2018-11-08 20:28:10 +00:00
parent 01cd8350bc
commit 7442c72d01
6 changed files with 97 additions and 15 deletions

View File

@@ -8,7 +8,6 @@ describe WPScan::Finders::Users::WpJsonApi do
describe '#aggressive' do
before do
# allow(target).to receive(:content_dir).and_return('wp-content')
allow(target).to receive(:sub_dir).and_return(false)
stub_request(:get, finder.api_url).to_return(body: body)
end