now you can view comrade profile info #134

This commit is contained in:
gitlabhq 2011-10-21 15:56:37 +03:00
parent b3279b9b51
commit 9fa4df16ec
7 changed files with 58 additions and 8 deletions

View file

@ -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