Lock down the controllers

This commit is contained in:
Martin Lensment 2014-12-19 13:45:17 +02:00
parent 3045c08b3e
commit 3b1e632ab7
36 changed files with 166 additions and 97 deletions

View file

@ -6,8 +6,7 @@ feature 'Sessions', type: :feature do
background do
create_settings
Fabricate(:user, identity_code: '37810013261')
Fabricate(:user, username: 'zone', admin: false, identity_code: '37810013087')
Fabricate(:user, username: 'zone', identity_code: '37810013087')
Fabricate.times(2, :domain, registrar: zone)
Fabricate.times(2, :domain, registrar: elkdata)
end