Sha256: 79140381e6eadde91047777076d1f8d61e3b80559fb6d82ebe4dd08e9ecf3237

Contents?: true

Size: 285 Bytes

Versions: 2

Compression:

Stored size: 285 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
    question nil
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tasuku-0.1.1 spec/factories/tasuku_taskables_question_options.rb
tasuku-0.1.0 spec/factories/tasuku_taskables_question_options.rb