Update User#identifier to conform to Gitolite 2.x's user pattern
Also modifies the specs a bit because I can't help myself. Closes #480
This commit is contained in:
parent
b44e9a08d5
commit
d29827433d
3 changed files with 47 additions and 30 deletions
|
@ -28,7 +28,7 @@ FactoryGirl.define do
|
|||
email { Faker::Internet.email }
|
||||
name
|
||||
password "123456"
|
||||
password_confirmation "123456"
|
||||
password_confirmation { password }
|
||||
|
||||
trait :admin do
|
||||
admin true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue