Sha256: bd8ee42bdf1678a09fd344fb80c4a29cf4364ae372cc3b2ff9ae537c1c21e1b1

Contents?: true

Size: 313 Bytes

Versions: 2

Compression:

Stored size: 313 Bytes

Contents

# Read about factories at https://github.com/thoughtbot/factory_girl

require 'faker'

FactoryGirl.define do
  factory :tasuku_taskables_question_option, aliases: [:question_option], class: 'Tasuku::Taskables::Question::Option' do
    text Faker::Lorem.word
    reply Faker::Lorem.word
    question nil
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tasuku-1.1.0 spec/factories/tasuku_taskables_question_options.rb
tasuku-1.0.1 spec/factories/tasuku_taskables_question_options.rb