Sha256: 916c4a5ad33ee93f772b92a326370a7fe2d801f38565e2683aa048606e3fc7e2

Contents?: true

Size: 244 Bytes

Versions: 13

Compression:

Stored size: 244 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :pokemon_master, class: '::PokemonMaster' do
    sequence(:first_name) { |n| "Ash-#{n}" }
    sequence(:last_name)  { |n| "Ketchum-#{n}" }
    age                   { 10 }
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
azeroth-1.0.0 spec/support/factories/pokemon_master.rb
azeroth-0.10.1 spec/support/factories/pokemon_master.rb
azeroth-0.10.0 spec/support/factories/pokemon_master.rb
azeroth-0.9.0 spec/support/factories/pokemon_master.rb
azeroth-0.8.2 spec/support/factories/pokemon_master.rb
azeroth-0.8.1 spec/support/factories/pokemon_master.rb
azeroth-0.8.0 spec/support/factories/pokemon_master.rb
azeroth-0.7.4 spec/support/factories/pokemon_master.rb
azeroth-0.7.3 spec/support/factories/pokemon_master.rb
azeroth-0.7.2 spec/support/factories/pokemon_master.rb
azeroth-0.7.1 spec/support/factories/pokemon_master.rb
azeroth-0.7.0 spec/support/factories/pokemon_master.rb
azeroth-0.6.5 spec/support/factories/pokemon_master.rb