Sha256: 7fadce13acb5bfd7b01c77dc0461bb3b287c238be56ad1e9d47fb54f21e0f501
Contents?: true
Size: 316 Bytes
Versions: 11
Compression:
Stored size: 316 Bytes
Contents
FactoryBot.define do factory :agent do |f| f.sequence(:full_name){|n| "full_name_#{n}"} f.agent_type_id{AgentType.where(name: 'person').first.id} f.country_id{Country.first.id} f.language_id{Language.first.id} end end FactoryBot.define do factory :invalid_agent, class: Agent do |f| end end
Version data entries
11 entries across 11 versions & 1 rubygems