Sha256: 4855c2b4b2b6df080b68c52dc72a4636e9c21986fdc79dc4fb71f1196ea8f74d

Contents?: true

Size: 264 Bytes

Versions: 9

Compression:

Stored size: 264 Bytes

Contents

FactoryGirl.define do
  factory :contract, class: 'Logistics::Core::Contract' do
    association :client
    contract_number {FFaker::Name.name}
    title {FFaker::Name.name}
    start_date Date.new
    end_date Date.new
    contract_signed_date Date.new
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
logistics_core-21.11.2 spec/factories/contract.rb
logistics_core-21.11.1 spec/factories/contract.rb
logistics_core-21.08.1 spec/factories/contract.rb
logistics_core-21.03.1 spec/factories/contract.rb
logistics_core-20.10.3 spec/factories/contract.rb
logistics_core-20.10.2 spec/factories/contract.rb
logistics_core-20.10.1 spec/factories/contract.rb
logistics_core-20.9.1 spec/factories/contract.rb
logistics_core-20.8.1 spec/factories/contract.rb