Added some missing model specs + PaperTrail session fix

This commit is contained in:
Priit Tark 2015-02-02 18:09:01 +02:00
parent c248a957a6
commit a637eb5e01
39 changed files with 1447 additions and 845 deletions

View file

@ -1,8 +1,25 @@
# currently identity code generation not implemented,
# thus default user is FI for a while
Fabricator(:user) do
username 'gitlab'
password 'ghyt9e4fu'
email 'info@gitlab.eu'
identity_code '37810013108'
country_code 'FI'
roles ['admin']
end
Fabricator(:ee_user, from: :user) do
identity_code "45002036517"
country_code 'EE'
roles ['admin']
end
# Valid identity codes
# 48805195231
# 45002036517
# 47601126511
# 48802292754
# 45912080223
# 34406056538
# 39503140321
# 39507241618