Sha256: ee28526662265c34f3b3eae840604b8f1c79d9cc0edb4c8b69d531ccd105d3d1

Contents?: true

Size: 233 Bytes

Versions: 16

Compression:

Stored size: 233 Bytes

Contents

FactoryGirl.define do

  factory :simple_grade_type, class: Gaku::SimpleGradeType do
    sequence(:name) { |n | "ruby_#{n}" }
    grading_method
    school

    factory :invalid_simple_grade_type do
      name nil
    end
  end

end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
gaku_core-0.3.0 lib/gaku/testing/factories/simple_grade_type_factory.rb
gaku_core-0.3.0.pre.4 lib/gaku/testing/factories/simple_grade_type_factory.rb
gaku_core-0.3.0.pre.3 lib/gaku/testing/factories/simple_grade_type_factory.rb
gaku_core-0.3.0.pre.2 lib/gaku/testing/factories/simple_grade_type_factory.rb
gaku_core-0.3.0.pre.1 lib/gaku/testing/factories/simple_grade_type_factory.rb
gaku_core-0.3.0.pre.0 lib/gaku/testing/factories/simple_grade_type_factory.rb
gaku-0.2.4 core/lib/gaku/testing/factories/simple_grade_type_factory.rb
gaku_core-0.2.4 lib/gaku/testing/factories/simple_grade_type_factory.rb
gaku-0.2.3 core/lib/gaku/testing/factories/simple_grade_type_factory.rb
gaku_core-0.2.3 lib/gaku/testing/factories/simple_grade_type_factory.rb
gaku-0.2.2 core/lib/gaku/testing/factories/simple_grade_type_factory.rb
gaku_core-0.2.2 lib/gaku/testing/factories/simple_grade_type_factory.rb
gaku-0.2.1 core/lib/gaku/testing/factories/simple_grade_type_factory.rb
gaku_core-0.2.1 lib/gaku/testing/factories/simple_grade_type_factory.rb
gaku-0.2.0 core/lib/gaku/testing/factories/simple_grade_type_factory.rb
gaku_core-0.2.0 lib/gaku/testing/factories/simple_grade_type_factory.rb