Sha256: 57a23f7532c53c36d3231f1826576f715311026ed5839e1da2f3328b785fdb7a

Contents?: true

Size: 233 Bytes

Versions: 6

Compression:

Stored size: 233 Bytes

Contents

FactoryGirl.define do

  factory :guardian, class: Gaku::Guardian do
    name { FFaker::Name.first_name }
    surname { FFaker::Name.last_name }
    relationship 'Relationship'

    factory(:invalid_guardian) { name nil }
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

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