Sha256: 07e91a5fe43b6796e6a8f1abe151446e65e78e4a9dfdffcc62557d83b4b19280

Contents?: true

Size: 295 Bytes

Versions: 16

Compression:

Stored size: 295 Bytes

Contents

FactoryGirl.define do
  factory :relationship_type do |type|
    type.association :valid_from_role, :factory => :role_type
    type.association :valid_to_role, :factory => :role_type
    name "A relationship type"
    type.sequence(:internal_identifier){|n| "party relationship #{n}"}
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
erp_base_erp_svcs-4.2.0 spec/factories/relationship_type.rb
erp_base_erp_svcs-4.0.0 spec/factories/relationship_type.rb
erp_base_erp_svcs-3.1.5 spec/factories/relationship_type.rb
erp_base_erp_svcs-3.1.4 spec/factories/relationship_type.rb
erp_base_erp_svcs-3.1.3 spec/factories/relationship_type.rb
erp_base_erp_svcs-3.1.2 spec/factories/relationship_type.rb
erp_base_erp_svcs-3.1.1 spec/factories/relationship_type.rb
erp_base_erp_svcs-3.0.7 spec/factories/relationship_type.rb
erp_base_erp_svcs-3.1.0 spec/factories/relationship_type.rb
erp_base_erp_svcs-3.0.6 spec/factories/relationship_type.rb
erp_base_erp_svcs-3.0.5 spec/factories/relationship_type.rb
erp_base_erp_svcs-3.0.4 spec/factories/relationship_type.rb
erp_base_erp_svcs-3.0.3 spec/factories/relationship_type.rb
erp_base_erp_svcs-3.0.2 spec/factories/relationship_type.rb
erp_base_erp_svcs-3.0.1 spec/factories/relationship_type.rb
erp_base_erp_svcs-3.0.0 spec/factories/relationship_type.rb