Sha256: f92a26cf357faa5411e3802a42ef34ab7b8041c395ef3ef21e03bc73d950771b

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

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

require 'faker'

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tasuku-0.0.1 spec/factories/tasks_taskables_question_options.rb