moving vulnerability tests and adding password complexity test

This commit is contained in:
Mike McCabe
2013-10-07 14:18:17 -04:00
parent 829b566c29
commit 9b3181eef9
11 changed files with 21 additions and 0 deletions
@@ -0,0 +1,15 @@
require 'spec_helper'
feature 'url access' do
before do
UserFixture.reset_all_users
@normal_user = UserFixture.normal_user
end
scenario 'attack', :js => true do
login @normal_user
visit '/admin/1/dashboard'
pending(:if => verifying_fixed?) { current_path.should == '/admin/1/dashboard' }
end
end