Sha256: 9ac94c5685d2c6523d74ea15e729f32c28a23e1c5e98b8ca52d695898c0d8edf

Contents?: true

Size: 354 Bytes

Versions: 5

Compression:

Stored size: 354 Bytes

Contents

# frozen_string_literal: true
# This will guess the User class
FactoryBot.define do
  factory :pre_ingest_file, class: Zizia::PreIngestFile do
    pre_ingest_work_id { 1 }
    created_at { Time.current }
    updated_at { Time.current }
    row_number { 1 }
    row { 'sample,row' }
    filename { '/a/path/to/my.csv' }
    size { 100_203_424 }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
zizia-6.0.1 spec/factories/pre_ingest_file.rb
zizia-6.0.0 spec/factories/pre_ingest_file.rb
zizia-5.3.0 spec/factories/pre_ingest_file.rb
zizia-5.2.0 spec/factories/pre_ingest_file.rb
zizia-5.1.0 spec/factories/pre_ingest_file.rb