Skip to content

Commit

Permalink
[ESSI-875] re-enable CSV import feature spec
Browse files Browse the repository at this point in the history
  • Loading branch information
aploshay committed Sep 4, 2024
1 parent b07104b commit 7dbdbe4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions spec/features/csv_importer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +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
xit do
scenario do
visit '/dashboard'
click_link "Importers"
click_link "New"
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 7dbdbe4

Please sign in to comment.