now you can view comrade profile info #134
This commit is contained in:
parent
b3279b9b51
commit
9fa4df16ec
7 changed files with 58 additions and 8 deletions
|
@ -3,7 +3,8 @@ module LoginMacros
|
|||
@user = User.create(:email => "user#{User.count}@mail.com",
|
||||
:name => "John Smith",
|
||||
:password => "123456",
|
||||
:password_confirmation => "123456")
|
||||
:password_confirmation => "123456",
|
||||
:skype => 'user_skype')
|
||||
|
||||
if role == :admin
|
||||
@user.admin = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue