mirror of https://github.com/fspc/BikeShed-1.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
333 B
15 lines
333 B
12 years ago
|
FactoryGirl.define do
|
||
|
factory :user do
|
||
|
sequence(:email) { |n| "user_#{n}@example.com" }
|
||
|
password 'password'
|
||
|
password_confirmation { password }
|
||
|
first_name 'Michael'
|
||
|
last_name 'Scott'
|
||
|
end
|
||
|
|
||
|
# factory :team do
|
||
|
# sequence(:name) { |n| "mash it #{n} times" }
|
||
|
# association :captain, :factory => :user
|
||
|
# end
|
||
|
end
|