Sha256: 37a3f755dd0fe71a16d01a3ccb7272b74f05b7f7b2f7cb303a513e53ea926b12

Contents?: true

Size: 225 Bytes

Versions: 16

Compression:

Stored size: 225 Bytes

Contents

FactoryGirl.define do

  factory :extracurricular_activity, class: Gaku::ExtracurricularActivity do
    sequence(:name) { |n| "tennis#{n}" }

    factory :invalid_extracurricular_activity 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/extracurricular_activity_factory.rb
gaku_core-0.3.0.pre.4 lib/gaku/testing/factories/extracurricular_activity_factory.rb
gaku_core-0.3.0.pre.3 lib/gaku/testing/factories/extracurricular_activity_factory.rb
gaku_core-0.3.0.pre.2 lib/gaku/testing/factories/extracurricular_activity_factory.rb
gaku_core-0.3.0.pre.1 lib/gaku/testing/factories/extracurricular_activity_factory.rb
gaku_core-0.3.0.pre.0 lib/gaku/testing/factories/extracurricular_activity_factory.rb
gaku-0.2.4 core/lib/gaku/testing/factories/extracurricular_activity_factory.rb
gaku_core-0.2.4 lib/gaku/testing/factories/extracurricular_activity_factory.rb
gaku-0.2.3 core/lib/gaku/testing/factories/extracurricular_activity_factory.rb
gaku_core-0.2.3 lib/gaku/testing/factories/extracurricular_activity_factory.rb
gaku-0.2.2 core/lib/gaku/testing/factories/extracurricular_activity_factory.rb
gaku_core-0.2.2 lib/gaku/testing/factories/extracurricular_activity_factory.rb
gaku-0.2.1 core/lib/gaku/testing/factories/extracurricular_activity_factory.rb
gaku_core-0.2.1 lib/gaku/testing/factories/extracurricular_activity_factory.rb
gaku-0.2.0 core/lib/gaku/testing/factories/extracurricular_activity_factory.rb
gaku_core-0.2.0 lib/gaku/testing/factories/extracurricular_activity_factory.rb