21 lines
461 B
Ruby
21 lines
461 B
Ruby
# == Schema Information
|
|
#
|
|
# Table name: users
|
|
#
|
|
# id :integer not null, primary key
|
|
# name :string
|
|
# balance :integer default(0), not null
|
|
# penning :boolean default(FALSE), not null
|
|
# created_at :datetime not null
|
|
# updated_at :datetime not null
|
|
#
|
|
|
|
FactoryGirl.define do
|
|
factory :user do
|
|
name { Faker::Internet.user_name }
|
|
|
|
factory :penning do
|
|
penning true
|
|
end
|
|
end
|
|
end
|