Skip to content

Commit c49692b

Browse files
committed
[ESSI-875] re-enable CSV import feature spec
1 parent 260656f commit c49692b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

spec/features/csv_importer_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040
allow(Hyrax::CollectionType).to receive(:find_by_gid!).and_return(Hyrax::CollectionType.find_or_create_default_collection_type)
4141
end
4242

43-
# FIXME: reactivate "scenario" test, get passing
44-
xit do
43+
scenario do
4544
visit '/dashboard'
4645
click_link "Importers"
4746
click_link "New"

spec/fixtures/test_image.csv

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
source_identifier,source,source_metadata_identifier,model,file,parents,title,description,ocr_state,purl,title,date_created,creator,holding_location,related_url,collection
2-
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
3-
fsource_1,file_set_1,file_set_1,FileSet,rgb.png,TEST-1234,RGB FileSet,This is an RGB png,,,,,,,,
4-
fsource_2,file_set_2,file_set_2,FileSet,world.png,TEST-1234,world FileSet,This is a world png,,,,,,,,
1+
source_identifier,source,source_metadata_identifier,model,file,parents,title,description,ocr_state,purl,date_created,creator,holding_location,related_url
2+
csource_1,csource_1,csource_1,Collection,,,A Test Collection,This is a test collection,,,,,,
3+
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
4+
fsource_1,file_set_1,file_set_1,FileSet,rgb.png,TEST-1234,RGB FileSet,This is an RGB png,,,,,,
5+
fsource_2,file_set_2,file_set_2,FileSet,world.png,TEST-1234,world FileSet,This is a world png,,,,,,

0 commit comments

Comments
 (0)