tab/spec/factories/users.rb
2015-09-08 13:37:30 +02:00

22 lines
462 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