Sha256: fa5f1839f9d8a3fda2b2f65b7284c331e8ac7320f823bf2228fb0f679034b5ac
Contents?: true
Size: 316 Bytes
Versions: 66
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
66 entries across 66 versions & 5 rubygems