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:
Robert Speicher 2012-09-04 00:04:36 -04:00
parent b44e9a08d5
commit d29827433d
3 changed files with 47 additions and 30 deletions

View file

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