Skip to content

Commit

Permalink
[ESSI-875] update CSV import fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
aploshay committed Oct 1, 2024
1 parent c56b211 commit 1f429a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion spec/features/csv_importer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
allow(Hyrax::CollectionType).to receive(:find_by_gid!).and_return(Hyrax::CollectionType.find_or_create_default_collection_type)
end

# FIXME: reactivate "scenario" test, get passing
# @todo re-enable scenario once working
xit do
visit '/dashboard'
click_link "Importers"
Expand Down
9 changes: 5 additions & 4 deletions spec/fixtures/test_image.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
source_identifier,source,source_metadata_identifier,model,file,parents,title,description,ocr_state,purl,title,date_created,creator,holding_location,related_url,collection
TEST-1234,TEST-1234,TEST-1234,Image,,Testing Collection,A Test Image,This is a test image,searchable,http://purl.dlib.indiana.edu/iudl/test/TEST-1234,,2015-03,"Technologies, Library",EAST,https://iu.box.com/Test,Testing Collection
fsource_1,file_set_1,file_set_1,FileSet,rgb.png,TEST-1234,RGB FileSet,This is an RGB png,,,,,,,,
fsource_2,file_set_2,file_set_2,FileSet,world.png,TEST-1234,world FileSet,This is a world png,,,,,,,,
source_identifier,source,source_metadata_identifier,model,file,parents,title,description,ocr_state,purl,date_created,creator,holding_location,related_url
csource_1,csource_1,csource_1,Collection,,,A Test Collection,This is a test collection,,,,,,
TEST-1234,TEST-1234,TEST-1234,Image,,csource_1,A Test Image,This is a test image,searchable,http://purl.dlib.indiana.edu/iudl/test/TEST-1234,2015-03,"Technologies, Library",EAST,https://iu.box.com/Test
fsource_1,file_set_1,file_set_1,FileSet,rgb.png,TEST-1234,RGB FileSet,This is an RGB png,,,,,,
fsource_2,file_set_2,file_set_2,FileSet,world.png,TEST-1234,world FileSet,This is a world png,,,,,,

0 comments on commit 1f429a5

Please sign in to comment.