Fix specs for main
This commit is contained in:
@@ -23,7 +23,7 @@ describe 'wpscan main checks' do
|
|||||||
|
|
||||||
it 'should check for errors on running the mainscript' do
|
it 'should check for errors on running the mainscript' do
|
||||||
a = %x[ruby #{ROOT_DIR}/wpscan.rb]
|
a = %x[ruby #{ROOT_DIR}/wpscan.rb]
|
||||||
a.should =~ /\[ERROR\] No argument supplied/
|
a.should =~ /No argument supplied/
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'should check for valid syntax' do
|
it 'should check for valid syntax' do
|
||||||
|
|||||||
Reference in New Issue
Block a user