Sha256: 1631e7e96227320b8fe28c5e23f3122edc821eff0191aebb19cef71dd7fd3cac

Contents?: true

Size: 313 Bytes

Versions: 12

Compression:

Stored size: 313 Bytes

Contents

# Read about factories at https://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :customer_vault_link, :class => 'CustomerVault::Link' do
    association :alice , factory: :customer_vault_individual
    association :bob , factory: :customer_vault_corporation   
    title "Manager"
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
customer_vault-1.2.5 spec/factories/customer_vault_links.rb
customer_vault-1.2.4 spec/factories/customer_vault_links.rb
customer_vault-1.2.3 spec/factories/customer_vault_links.rb
customer_vault-1.2.2 spec/factories/customer_vault_links.rb
customer_vault-1.2.1 spec/factories/customer_vault_links.rb
customer_vault-1.2.0 spec/factories/customer_vault_links.rb
customer_vault-1.1.0 spec/factories/customer_vault_links.rb
customer_vault-1.0.4 spec/factories/customer_vault_links.rb
customer_vault-1.0.3 spec/factories/customer_vault_links.rb
customer_vault-1.0.2 spec/factories/customer_vault_links.rb
customer_vault-1.0.1 spec/factories/customer_vault_links.rb
customer_vault-1.0.0 spec/factories/customer_vault_links.rb