Sha256: 20da7d9f60f8652d5390fcfc205c8e530efc637570ec4fca5dafd3231fe57968

Contents?: true

Size: 189 Bytes

Versions: 15

Compression:

Stored size: 189 Bytes

Contents

FactoryBot.define do
  factory :school do
    sequence(:name) { |i| "School ##{i}" }
  end

  factory :student, class: Foo::Student do
    sequence(:name) { |i| "Student ##{i}" }
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
administrate-field-nested_has_many-2.1.0 spec/factories.rb
administrate-field-nested_has_many-2.0.0 spec/factories.rb
viniBaxter-spa-nested_has_many-300.0.6 spec/factories.rb
viniBaxter-spa-nested_has_many-300.0.5 spec/factories.rb
viniBaxter-spa-nested_has_many-300.0.4 spec/factories.rb
viniBaxter-spa-nested_has_many-300.0.2 spec/factories.rb
viniBaxter-spa-nested_has_many-300.0.1 spec/factories.rb
viniBaxter-spa-nested_has_many-5.4.0 spec/factories.rb
viniBaxter-spa-nested_has_many-5.0.1 spec/factories.rb
viniBaxter-spa-nested_has_many-5.0.0 spec/factories.rb
administrate-field-nested_has_many-1.3.0 spec/factories.rb
viniBaxter-spa-nested_has_many-4.0.0 spec/factories.rb
viniBaxter-spa-nested_has_many-3.0.0 spec/factories.rb
viniBaxter-spa-nested_has_many-2.0.0 spec/factories.rb
administrate-field-nested_has_many-1.2.0 spec/factories.rb