tab/spec/factories/clients.rb

17 lines
354 B
Ruby
Raw Normal View History

2015-09-08 11:44:40 +02:00
# == Schema Information
#
# Table name: clients
#
# id :integer not null, primary key
# name :string not null
# key :string not null
# created_at :datetime not null
# updated_at :datetime not null
#
FactoryBot.define do
2015-09-08 11:30:11 +02:00
factory :client do
2015-09-08 14:00:11 +02:00
name { Faker::Lorem.word }
2015-09-08 11:30:11 +02:00
end
end