Sha256: d047cd67f99252fdc0dbd54b38512c552ef0d6d4b76062122ddd42980c7780c3

Contents?: true

Size: 235 Bytes

Versions: 5

Compression:

Stored size: 235 Bytes

Contents

FactoryGirl.define do

  factory :exam_portion, class: Gaku::ExamPortion do
    name 'wow'
    max_score 100
    weight 100
    problem_count 1
    exam
    score_type 'score'
    factory(:invalid_exam_portion) { name nil }
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gaku_core-0.3.0 lib/gaku/testing/factories/exam_portion_factory.rb
gaku_core-0.3.0.pre.4 lib/gaku/testing/factories/exam_portion_factory.rb
gaku_core-0.3.0.pre.3 lib/gaku/testing/factories/exam_portion_factory.rb
gaku_core-0.3.0.pre.2 lib/gaku/testing/factories/exam_portion_factory.rb
gaku_core-0.3.0.pre.1 lib/gaku/testing/factories/exam_portion_factory.rb