Sha256: c2f4d3e9dfe94df7c21daf85bb24a3a5da733b0ebf424911a894177f22392b90
Contents?: true
Size: 394 Bytes
Versions: 16
Compression:
Stored size: 394 Bytes
Contents
FactoryGirl.define do factory :contact_creation, class: Gaku::ContactCreation do data 'gaku@example.com' details 'My email' contact_type initialize_with { new(attributes) } after(:build) do |contact_creation| if contact_creation.contact.contactable.respond_to?(:contacts) contact_creation.contact.contactable.contacts.reload end end end end
Version data entries
16 entries across 16 versions & 2 rubygems