Sha256: a5fde6883d66cef3433a485721e45392d72ba1f1a310f4bc2ca86cb460197d1e

Contents?: true

Size: 193 Bytes

Versions: 8

Compression:

Stored size: 193 Bytes

Contents

FactoryGirl.define do
  factory :question, class: Spree::Question do
    question_category
    sequence(:question) { |n| "question#{n}" }
    answer { generate(:random_description) }
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spree-faq-2.4.0 spec/factories/question_factory.rb
spree-faq-2.3.0 spec/factories/question_factory.rb
spree-faq-2.2.1 spec/factories/question_factory.rb
spree-faq-2.1.1 spec/factories/question_factory.rb
spree-faq-2.0.1 spec/factories/question_factory.rb
spree-faq-2.2.0 spec/factories/question_factory.rb
spree-faq-2.1.0 spec/factories/question_factory.rb
spree-faq-2.0.0 spec/factories/question_factory.rb