Sha256: 51dee33f8843b3365c613b972f7c9ec4abc7a78a6e12abe345dc7c68e4c26031

Contents?: true

Size: 167 Bytes

Versions: 21

Compression:

Stored size: 167 Bytes

Contents

FactoryGirl.define  do

  factory :department, class: Gaku::Department do
    name 'Mathematics'

    factory :invalid_department do
      name nil
    end
  end

end

Version data entries

21 entries across 21 versions & 2 rubygems

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