spec/factories/bulk_updates.rb in blacklight-spotlight-3.0.2 vs spec/factories/bulk_updates.rb in blacklight-spotlight-3.0.3
- old
+ new
@@ -5,9 +5,15 @@
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