spec/plugins/http_dicattack_spec.rb in arachni-0.4.1.3 vs spec/plugins/http_dicattack_spec.rb in arachni-0.4.2
- old
+ new
@@ -13,26 +13,26 @@
def results
results_for( name_from_filename )
end
context "when given the right params" do
- it 'should locate the form and login successfully' do
+ it 'locates the form and login successfully' do
options.url = server_url_for( name_from_filename )
run
results.should == { username: 'admin', password: 'pass' }
end
end
context "when being unable to login" do
- it 'should not log any results' do
+ it 'logs nothing' do
options.url = server_url_for( "#{name_from_filename}_secure" )
run
results.should be_nil
end
end
context "when the page isn't protected" do
- it 'should not log anything' do
+ it 'logs nothing' do
options.url = server_url_for( "#{name_from_filename}_unprotected" )
run
results.should be_nil
end
end