restore roles into seeds

This commit is contained in:
Stas 2015-10-23 15:25:38 +03:00
parent b088d39b0e
commit 816a6e4432

View file

@ -19,7 +19,8 @@ registrar1 = Registrar.where(
password: 'password', password: 'password',
identity_code: '51001091072', identity_code: '51001091072',
active: true, active: true,
registrar: registrar1 registrar: registrar1,
roles: ['super']
) )
@ -41,7 +42,8 @@ registrar2 = Registrar.where(
password: 'password', password: 'password',
identity_code: '11412090004', identity_code: '11412090004',
active: true, active: true,
registrar: registrar2 registrar: registrar2,
roles: ['super']
) )