Newer
Older
dmpopidor / spec / factories / question_formats.rb
@Bodacious Bodacious on 12 Jul 2018 488 bytes Adding fixtures
# == Schema Information
#
# Table name: question_formats
#
#  id           :integer          not null, primary key
#  title        :string
#  description  :text
#  created_at   :datetime         not null
#  updated_at   :datetime         not null
#  option_based :boolean          default(FALSE)
#  formattype   :integer          default(0)
#

FactoryBot.define do
  factory :question_format do
    title { Faker::Lorem.words(3).join }
    description { Faker::Lorem.sentence }
  end
end