Sha256: 491fcf72e341423fca1f592905f018a91648ea8bb7cf09ecd75397cbe41526d4

Contents?: true

Size: 576 Bytes

Versions: 26

Compression:

Stored size: 576 Bytes

Contents

FactoryGirl.define do

  factory :enrollment_status, class: Gaku::EnrollmentStatus do
    code 'enrolled'
    name 'Enrolled'
    active false
    immutable true
  end

  factory :enrollment_status_applicant, class: Gaku::EnrollmentStatus do
    code 'applicant'
    name 'Applicant'
    active false
    immutable true
  end

  factory :enrollment_status_admitted, class: Gaku::EnrollmentStatus do
    code 'admitted'
    name 'Admitted'
    active true
    immutable true
  end

  factory :invalid_enrollment_status, class: Gaku::EnrollmentStatus do
    code nil
  end

end

Version data entries

26 entries across 26 versions & 2 rubygems

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