You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
280 B
Ruby
16 lines
280 B
Ruby
13 years ago
|
# Read about factories at http://github.com/thoughtbot/factory_girl
|
||
|
|
||
|
FactoryGirl.define do
|
||
|
sequence(:uid) { |n| n }
|
||
|
sequence(:nickname) { |n| "mrFoo#{n}" }
|
||
|
|
||
|
factory :user do
|
||
|
provider "twitter"
|
||
|
uid
|
||
|
nickname
|
||
|
email nil
|
||
|
name nil
|
||
|
avatar_url nil
|
||
|
end
|
||
|
end
|