Add deposits controller

This commit is contained in:
Martin Lensment 2015-04-09 11:19:49 +03:00
parent 5c0e2be387
commit 13c94aeb1c
10 changed files with 88 additions and 4 deletions

View file

@ -15,6 +15,7 @@ registrar1 = Registrar.where(
ApiUser.where(
username: 'registrar1',
password: 'test1',
identity_code: '51001091072',
active: true,
registrar: registrar1
).first_or_create!
@ -33,6 +34,7 @@ registrar2 = Registrar.where(
ApiUser.where(
username: 'registrar2',
password: 'test2',
identity_code: '11412090004',
active: true,
registrar: registrar2
).first_or_create!