spec/plugins/form_dicattack_spec.rb in arachni-0.4.1.3 vs spec/plugins/form_dicattack_spec.rb in arachni-0.4.2

- old
+ new

@@ -6,11 +6,11 @@ before( :all ) do options.url = url 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 name = name_from_filename options.plugins[name] = { 'username_field' => 'username', 'password_field' => 'password', @@ -23,11 +23,11 @@ results_for( name ).should == { username: 'sys', password: 'admin' } end end context "when being unable to login" do - it 'should not log any results' do + it 'logs nothing' do name = name_from_filename options.plugins[name] = { 'username_field' => 'username', 'password_field' => 'password', @@ -40,10 +40,10 @@ results_for( name ).should be_nil end end context "when given invalid params" do - it 'should complain about not being able to find the form' do + it 'complains about not being able to find the form' do name = name_from_filename options.plugins[name] = { 'username_field' => 'username2', 'password_field' => 'password',