Added notice and removed spoilers from spec names.

This commit is contained in:
chrismo
2013-10-03 11:00:43 -05:00
parent 538d01e5cf
commit 525dfa1717
11 changed files with 41 additions and 15 deletions
+3 -3
View File
@@ -1,12 +1,12 @@
require 'spec_helper'
feature 'sql injection' do
feature 'mass assignment' do
before do
UserFixture.reset_all_users
@normal_user = UserFixture.normal_user
end
scenario 'mass assignment attack update account_settings' do
scenario 'attack one' do
@normal_user.admin.should be_false
login(@normal_user)
@@ -20,7 +20,7 @@ feature 'sql injection' do
pending(:if => verifying_fixed?) { @normal_user.reload.admin.should be_true }
end
scenario 'mass assignment attack create new account' do
scenario 'attack two' do
params = {:user => {:admin => 't',
:email => 'hackety@h4x0rs.c0m',
:first_name => 'hackety',