Sha256: 261a54c0244d32989d2cac4092cf59aa3ceb48bf726cbeab54e4e359879b59c8
Contents?: true
Size: 316 Bytes
Versions: 37
Compression:
Stored size: 316 Bytes
Contents
FactoryGirl.define do factory :agent do |f| f.sequence(:full_name){|n| "full_name_#{n}"} f.agent_type_id{AgentType.find_by_name('person').id} f.country_id{Country.first.id} f.language_id{Language.first.id} end end FactoryGirl.define do factory :invalid_agent, :class => Agent do |f| end end
Version data entries
37 entries across 36 versions & 3 rubygems