Last active
August 29, 2015 14:20
-
-
Save grosscol/9590c30a642d4c88202f to your computer and use it in GitHub Desktop.
Sufia pcdm_1086 fails.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In feature branch to get GenericWork to top level class in Sufia, and | |
Sufia::Works::Work and Sufia::Works::Generic work as Concern in branch: | |
https://github.com/grosscol/sufia/tree/pcdm_1086 | |
rspec Failures: | |
1) CurationConcern::GenericWorkActor#create valid attributes with a file authenticated visibility should stamp each file with the access rights | |
Failure/Error: expect(subject.create).to be true | |
ActiveFedora::UnknownAttributeError: | |
GenericFile does not have an attribute `generic_work_id' | |
# ./sufia-models/app/actors/curation_concern/generic_work_actor.rb:81:in `attach_file' | |
# ./sufia-models/app/actors/curation_concern/generic_work_actor.rb:30:in `block in attach_files' | |
# ./sufia-models/app/actors/curation_concern/generic_work_actor.rb:29:in `each' | |
# ./sufia-models/app/actors/curation_concern/generic_work_actor.rb:29:in `all?' | |
# ./sufia-models/app/actors/curation_concern/generic_work_actor.rb:29:in `attach_files' | |
# ./sufia-models/app/actors/curation_concern/generic_work_actor.rb:6:in `create' | |
# ./spec/actors/curation_concern/generic_work_actor_spec.rb:53:in `block (6 levels) in <top (required)>' | |
2) CurationConcern::GenericWorkActor#create valid attributes with multiple files file authenticated visibility should stamp each file with the access rights | |
Failure/Error: expect(subject.create).to be true | |
ActiveFedora::UnknownAttributeError: | |
GenericFile does not have an attribute `generic_work_id' | |
# ./sufia-models/app/actors/curation_concern/generic_work_actor.rb:81:in `attach_file' | |
# ./sufia-models/app/actors/curation_concern/generic_work_actor.rb:30:in `block in attach_files' | |
# ./sufia-models/app/actors/curation_concern/generic_work_actor.rb:29:in `each' | |
# ./sufia-models/app/actors/curation_concern/generic_work_actor.rb:29:in `all?' | |
# ./sufia-models/app/actors/curation_concern/generic_work_actor.rb:29:in `attach_files' | |
# ./sufia-models/app/actors/curation_concern/generic_work_actor.rb:6:in `create' | |
# ./spec/actors/curation_concern/generic_work_actor_spec.rb:85:in `block (6 levels) in <top (required)>' | |
3) searching as a public user using the gallery view | |
Failure/Error: click_link "Gallery" | |
ActionView::Template::Error: | |
undefined method `track_generic_work_path' for #<#<Class:0x007f1dce109328>:0x007f1dc6b05e88> | |
# ./app/views/catalog/index.html.erb:6:in `__home_grosscol_workspace_sufia_app_views_catalog_index_html_erb__1418284080396753820_69882993956640' | |
# ./spec/features/search_spec.rb:23:in `block (3 levels) in <top (required)>' | |
Failed examples: | |
rspec ./spec/actors/curation_concern/generic_work_actor_spec.rb:46 # CurationConcern::GenericWorkActor#create valid attributes with a file authenticated visibility should stamp each file with the access rights | |
rspec ./spec/actors/curation_concern/generic_work_actor_spec.rb:77 # CurationConcern::GenericWorkActor#create valid attributes with multiple files file authenticated visibility should stamp each file with the access rights | |
rspec ./spec/features/search_spec.rb:14 # searching as a public user using the gallery view |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment