Sha256: dfefbe66d214f4e3b1e61fd6f9970ecd76598b2f6929dc62fd7e0e923a259e9f

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

Factory.define :question do |s|
  s.details   'John'
  s.active    true
  s.position  1
end

Factory.define :question_with_questionnaire, :parent => :question do |s|
  s.questionnaire { |c| c.association(:questionnaire) }
  s.details   'John with questionaire'
  s.active    true
  s.position  2
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
survey_says-0.0.1 test/factories/questions.rb