spec/plugins/http_dicattack_spec.rb in arachni-0.4.3.2 vs spec/plugins/http_dicattack_spec.rb in arachni-0.4.4

- old
+ new

@@ -12,18 +12,18 @@ def results results_for( name_from_filename ) end - context "when given the right params" do - it 'locates the form and login successfully' do + context 'when given the right params' do + it 'logins successfully' do options.url = web_server_url_for( name_from_filename ) run results.should == { username: 'admin', password: 'pass' } end end - context "when being unable to login" do + context 'when being unable to login' do it 'logs nothing' do options.url = web_server_url_for( "#{name_from_filename}_secure" ) run results.should be_nil end