Sha256: 562a4678cf070f87bd935157ac6483442df02155deb64a34ce1efa9a3c0fed41

Contents?: true

Size: 721 Bytes

Versions: 49

Compression:

Stored size: 721 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 :bulk_update_no_cols, class: 'Spotlight::BulkUpdate' do
    file { Rack::Test::UploadedFile.new(File.expand_path(File.join('..', 'fixtures', 'updated-bulk-update-template-no-cols.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

49 entries across 49 versions & 1 rubygems

Version Path
blacklight-spotlight-5.0.0.pre.alpha3 spec/factories/bulk_updates.rb
blacklight-spotlight-5.0.0.pre.alpha2 spec/factories/bulk_updates.rb
blacklight-spotlight-5.0.0.pre.alpha1 spec/factories/bulk_updates.rb
blacklight-spotlight-4.7.1 spec/factories/bulk_updates.rb
blacklight-spotlight-4.7.0 spec/factories/bulk_updates.rb
blacklight-spotlight-4.6.1 spec/factories/bulk_updates.rb
blacklight-spotlight-4.6.0 spec/factories/bulk_updates.rb
blacklight-spotlight-4.5.0 spec/factories/bulk_updates.rb
blacklight-spotlight-4.4.0 spec/factories/bulk_updates.rb
blacklight-spotlight-4.3.6 spec/factories/bulk_updates.rb
blacklight-spotlight-4.3.5 spec/factories/bulk_updates.rb
blacklight-spotlight-4.3.4 spec/factories/bulk_updates.rb
blacklight-spotlight-4.3.3 spec/factories/bulk_updates.rb
blacklight-spotlight-4.3.2 spec/factories/bulk_updates.rb
blacklight-spotlight-4.3.1 spec/factories/bulk_updates.rb
blacklight-spotlight-4.3.0 spec/factories/bulk_updates.rb
blacklight-spotlight-4.2.0 spec/factories/bulk_updates.rb
blacklight-spotlight-4.1.2 spec/factories/bulk_updates.rb
blacklight-spotlight-4.1.1 spec/factories/bulk_updates.rb
blacklight-spotlight-4.1.0 spec/factories/bulk_updates.rb