Admin can change other users settings without user password #2646

This commit is contained in:
Priit Tark 2015-06-03 16:34:37 +03:00
parent 13b60d39ce
commit 4da89aaa87
9 changed files with 67 additions and 81 deletions

View file

@ -4,7 +4,7 @@ Fabricator(:admin_user) do
username 'gitlab'
password 'ghyt9e4fu'
password_confirmation 'ghyt9e4fu'
email 'info@gitlab.eu'
email { sequence(:email) { |i| "info#{i}@example.com" } }
country_code 'FI'
roles ['admin']
end