Sha256: 7af8c347f65a351d4bd78e0dbd897f6adb123c99906f9c6fb03c5be17baf3b5d

Contents?: true

Size: 493 Bytes

Versions: 5

Compression:

Stored size: 493 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :bulk_update, class: 'Spotlight::BulkUpdate' do
    file { Rack::Test::UploadedFile.new(File.expand_path(File.join('..', 'fixtures', 'updated-bulk-update-template.csv'), __dir__)) }

    exhibit
  end

  factory :tagged_bulk_update, class: 'Spotlight::BulkUpdate' do
    file { Rack::Test::UploadedFile.new(File.expand_path(File.join('..', 'fixtures', 'updated-bulk-update-template-w-tags.csv'), __dir__)) }

    exhibit
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
blacklight-spotlight-3.0.2 spec/factories/bulk_updates.rb
blacklight-spotlight-3.0.1 spec/factories/bulk_updates.rb
blacklight-spotlight-3.0.0 spec/factories/bulk_updates.rb
blacklight-spotlight-3.0.0.rc6 spec/factories/bulk_updates.rb
blacklight-spotlight-3.0.0.rc5 spec/factories/bulk_updates.rb