Skip to content

Instantly share code, notes, and snippets.

@mjgiarlo
Created December 9, 2015 19:44
Show Gist options
  • Save mjgiarlo/79f16d618435ff73d99d to your computer and use it in GitHub Desktop.
Save mjgiarlo/79f16d618435ff73d99d to your computer and use it in GitHub Desktop.
failures in sufia#1423 WIP branch
Failures:
1) CollectionsController#show when signed in returns the collection and its members
Failure/Error: expect(assigns[:presenter]).to be_kind_of Sufia::CollectionPresenter
expected #<CurationConcerns::CollectionPresenter:0x0000000877df50 @solr_document=#<SolrDocument:0x000000087844e0 @_source={"system_create_dtsi"=>"2015-12-09T19:25:51Z", "system_modified_dtsi"=>"2015-12-09T19:25:51Z", "active_fedora_model_ssi"=>"Collection", "has_model_ssim"=>["Collection"], "id"=>"hx11xf27c", "object_profile_ssm"=>["{\"id\":\"hx11xf27c\",\"head\":[],\"tail\":[],\"depositor\":\"[email protected]\",\"part_of\":[],\"contributor\":[],\"creator\":[],\"title\":\"My collection\",\"description\":\"My incredibly detailed description of the collection\",\"publisher\":[],\"date_created\":[],\"date_uploaded\":null,\"date_modified\":null,\"subject\":[],\"language\":[],\"rights\":[],\"resource_type\":[],\"identifier\":[],\"based_near\":[],\"tag\":[],\"related_url\":[],\"representative_id\":null,\"thumbnail_id\":null}"], "depositor_ssim"=>["[email protected]"], "depositor_tesim"=>["[email protected]"], "title_tesim"=>["My collection"], "description_tesim"=>["My incredibly detailed description of the collection"], "member_ids_ssim"=>["f4752g73w", "1c18df77c", "707957642"], "bytes_is"=>0, "read_access_group_ssim"=>["public"], "edit_access_person_ssim"=>["[email protected]"], "human_readable_type_tesim"=>["Collection"], "timestamp"=>"2015-12-09T19:25:51.381Z", "score"=>1.0}, @response={"responseHeader"=>{"status"=>0, "QTime"=>2, "params"=>{"facet.field"=>["resource_type_sim", "creator_sim", "tag_sim", "subject_sim", "language_sim", "based_near_sim", "publisher_sim", "file_format_sim"], "qt"=>"search", "f.language_sim.facet.limit"=>"6", "f.file_format_sim.facet.limit"=>"6", "f.based_near_sim.facet.limit"=>"6", "f.publisher_sim.facet.limit"=>"6", "fq"=>["edit_access_group_ssim:public OR discover_access_group_ssim:public OR read_access_group_ssim:public OR edit_access_group_ssim:registered OR discover_access_group_ssim:registered OR read_access_group_ssim:registered OR edit_access_person_ssim:[email protected] OR discover_access_person_ssim:[email protected] OR read_access_person_ssim:[email protected]", "_query_:\"{!raw f=id}hx11xf27c\""], "f.resource_type_sim.facet.limit"=>"6", "sort"=>"score desc, system_create_dtsi desc", "rows"=>"10", "f.creator_sim.facet.limit"=>"6", "f.tag_sim.facet.limit"=>"6", "wt"=>"ruby", "facet"=>"true", "f.subject_sim.facet.limit"=>"6"}}, "response"=>{"numFound"=>1, "start"=>0, "maxScore"=>1.0, "docs"=>[{"system_create_dtsi"=>"2015-12-09T19:25:51Z", "system_modified_dtsi"=>"2015-12-09T19:25:51Z", "active_fedora_model_ssi"=>"Collection", "has_model_ssim"=>["Collection"], "id"=>"hx11xf27c", "object_profile_ssm"=>["{\"id\":\"hx11xf27c\",\"head\":[],\"tail\":[],\"depositor\":\"[email protected]\",\"part_of\":[],\"contributor\":[],\"creator\":[],\"title\":\"My collection\",\"description\":\"My incredibly detailed description of the collection\",\"publisher\":[],\"date_created\":[],\"date_uploaded\":null,\"date_modified\":null,\"subject\":[],\"language\":[],\"rights\":[],\"resource_type\":[],\"identifier\":[],\"based_near\":[],\"tag\":[],\"related_url\":[],\"representative_id\":null,\"thumbnail_id\":null}"], "depositor_ssim"=>["[email protected]"], "depositor_tesim"=>["[email protected]"], "title_tesim"=>["My collection"], "description_tesim"=>["My incredibly detailed description of the collection"], "member_ids_ssim"=>["f4752g73w", "1c18df77c", "707957642"], "bytes_is"=>0, "read_access_group_ssim"=>["public"], "edit_access_person_ssim"=>["[email protected]"], "human_readable_type_tesim"=>["Collection"], "timestamp"=>"2015-12-09T19:25:51.381Z", "score"=>1.0}]}, "facet_counts"=>{"facet_queries"=>{}, "facet_fields"=>{"resource_type_sim"=>[], "creator_sim"=>[], "tag_sim"=>[], "subject_sim"=>[], "language_sim"=>[], "based_near_sim"=>[], "publisher_sim"=>[], "file_format_sim"=>[]}, "facet_dates"=>{}, "facet_ranges"=>{}, "facet_intervals"=>{}}}, @export_formats={:xml=>{:content_type=>"application/xml"}, :dc_xml=>{:content_type=>"text/xml"}, :oai_dc_xml=>{:content_type=>"text/xml"}, :nt=>{:content_type=>"application/n-triples"}, :jsonld=>{:content_type=>"application/ld+json"}, :ttl=>{:content_type=>"text/turtle"}}>, @current_ability=#<Ability:0x00000008822898 @current_user=#<User id: 1, email: "[email protected]", encrypted_password: "$2a$04$Iv7c1dzZo6SbymX2rtLG8.sBp/cdldjeoJB.sejFeWx...", reset_password_token: nil, reset_password_sent_at: nil, remember_created_at: nil, sign_in_count: 0, current_sign_in_at: nil, last_sign_in_at: nil, current_sign_in_ip: nil, last_sign_in_ip: nil, created_at: "2015-12-09 19:25:50", updated_at: "2015-12-09 19:25:50", guest: false, facebook_handle: nil, twitter_handle: nil, googleplus_handle: nil, display_name: nil, address: nil, admin_area: nil, department: nil, title: nil, office: nil, chat_id: nil, website: nil, affiliation: nil, telephone: nil, avatar_file_name: nil, avatar_content_type: nil, avatar_file_size: nil, avatar_updated_at: nil, group_list: nil, groups_last_update: nil, linkedin_handle: nil, orcid: nil, arkivo_token: "OaCPtgr8LE9LW4CGOm8KIEj+9RIBGBUw", arkivo_subscription: nil, zotero_token: nil, zotero_userid: nil>, @user=#<User id: 1, email: "[email protected]", encrypted_password: "$2a$04$Iv7c1dzZo6SbymX2rtLG8.sBp/cdldjeoJB.sejFeWx...", reset_password_token: nil, reset_password_sent_at: nil, remember_created_at: nil, sign_in_count: 0, current_sign_in_at: nil, last_sign_in_at: nil, current_sign_in_ip: nil, last_sign_in_ip: nil, created_at: "2015-12-09 19:25:50", updated_at: "2015-12-09 19:25:50", guest: false, facebook_handle: nil, twitter_handle: nil, googleplus_handle: nil, display_name: nil, address: nil, admin_area: nil, department: nil, title: nil, office: nil, chat_id: nil, website: nil, affiliation: nil, telephone: nil, avatar_file_name: nil, avatar_content_type: nil, avatar_file_size: nil, avatar_updated_at: nil, group_list: nil, groups_last_update: nil, linkedin_handle: nil, orcid: nil, arkivo_token: "OaCPtgr8LE9LW4CGOm8KIEj+9RIBGBUw", arkivo_subscription: nil, zotero_token: nil, zotero_userid: nil>, @options={}, @cache=#<Hydra::PermissionsCache:0x00000008822820 @cache={}>, @user_groups=["public", "registered"], @rules=[#<CanCan::Rule:0x0000000880e7a8 @match_all=false, @base_behavior=true, @actions=[:edit, :update, :destroy], @subjects=[String], @conditions={}, @block=#<Proc:0x0000000880e7d0@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:61>>, #<CanCan::Rule:0x0000000880e410 @match_all=false, @base_behavior=true, @actions=[:edit, :update, :destroy], @subjects=[ActiveFedora::Base], @conditions={}, @block=#<Proc:0x0000000880e438@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:65>>, #<CanCan::Rule:0x0000000880e168 @match_all=false, @base_behavior=true, @actions=[:edit, :update, :destroy], @subjects=[SolrDocument], @conditions={}, @block=#<Proc:0x0000000880e190@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:69>>, #<CanCan::Rule:0x0000000880df10 @match_all=false, @base_behavior=true, @actions=[:read], @subjects=[String], @conditions={}, @block=#<Proc:0x0000000880df38@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:76>>, #<CanCan::Rule:0x0000000880da88 @match_all=false, @base_behavior=true, @actions=[:read], @subjects=[ActiveFedora::Base], @conditions={}, @block=#<Proc:0x0000000880dab0@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:80>>, #<CanCan::Rule:0x0000000880d790 @match_all=false, @base_behavior=true, @actions=[:read], @subjects=[SolrDocument], @conditions={}, @block=#<Proc:0x0000000880d7b8@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:84>>, #<CanCan::Rule:0x0000000880d420 @match_all=false, @base_behavior=true, @actions=[:discover], @subjects=[String], @conditions={}, @block=#<Proc:0x0000000880d588@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:91>>, #<CanCan::Rule:0x0000000880d0d8 @match_all=false, @base_behavior=true, @actions=[:discover], @subjects=[ActiveFedora::Base], @conditions={}, @block=#<Proc:0x0000000880d178@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:95>>, #<CanCan::Rule:0x0000000880ce80 @match_all=false, @base_behavior=true, @actions=[:discover], @subjects=[SolrDocument], @conditions={}, @block=#<Proc:0x0000000880cef8@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:99>>, #<CanCan::Rule:0x0000000880cb38 @match_all=false, @base_behavior=true, @actions=[:download], @subjects=[ActiveFedora::File], @conditions={}, @block=#<Proc:0x0000000880cca0@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:107>>, #<CanCan::Rule:0x0000000880c818 @match_all=false, @base_behavior=true, @actions=[:create], @subjects=[CurationConcerns::ClassifyConcern(curation_concern_type: Object)], @conditions={}, @block=nil>, #<CanCan::Rule:0x0000000880c1d8 @match_all=false, @base_behavior=false, @actions=[:index], @subjects=[Hydra::AccessControls::Embargo], @conditions={}, @block=nil>, #<CanCan::Rule:0x00000008803da8 @match_all=false, @base_behavior=false, @actions=[:index], @subjects=[Hydra::AccessControls::Lease], @conditions={}, @block=nil>, #<CanCan::Rule:0x00000008803858 @match_all=false, @base_behavior=true, @actions=[:collect], @subjects=[:all], @conditions={}, @block=nil>, #<CanCan::Rule:0x00000008803178 @match_all=false, @base_behavior=true, @actions=[:view_share_work], @subjects=[FileSet], @conditions={}, @block=nil>, #<CanCan::Rule:0x00000008802ae8 @match_all=false, @base_behavior=true, @actions=[:edit, :update, :toggle_trophy], @subjects=[User(id: integer, email: string, encrypted_password: string, reset_password_token: string, reset_password_sent_at: datetime, remember_created_at: datetime, sign_in_count: integer, current_sign_in_at: datetime, last_sign_in_at: datetime, current_sign_in_ip: string, last_sign_in_ip: string, created_at: datetime, updated_at: datetime, guest: boolean, facebook_handle: string, twitter_handle: string, googleplus_handle: string, display_name: string, address: string, admin_area: string, department: string, title: string, office: string, chat_id: string, website: string, affiliation: string, telephone: string, avatar_file_name: string, avatar_content_type: string, avatar_file_size: integer, avatar_updated_at: datetime, group_list: text, groups_last_update: datetime, linkedin_handle: string, orcid: string, arkivo_token: string, arkivo_subscription: string, zotero_token: binary, zotero_userid: string)], @conditions={:id=>1}, @block=nil>, #<CanCan::Rule:0x00000008802660 @match_all=false, @base_behavior=true, @actions=[:read], @subjects=[ContentBlock(id: integer, name: string, value: text, created_at: datetime, updated_at: datetime, external_key: string)], @conditions={}, @block=nil>, #<CanCan::Rule:0x00000008801378 @match_all=false, @base_behavior=true, @actions=[:transfer], @subjects=[String], @conditions={}, @block=#<Proc:0x000000088013a0@/home/mjg/workspace/sufia/app/models/concerns/sufia/ability.rb:20>>, #<CanCan::Rule:0x000000088010a8 @match_all=false, @base_behavior=true, @actions=[:create], @subjects=[ProxyDepositRequest(id: integer, generic_work_id: string, sending_user_id: integer, receiving_user_id: integer, fulfillment_date: datetime, status: string, sender_comment: text, receiver_comment: text, created_at: datetime, updated_at: datetime)], @conditions={}, @block=nil>, #<CanCan::Rule:0x00000008800ab8 @match_all=false, @base_behavior=true, @actions=[:accept], @subjects=[ProxyDepositRequest(id: integer, generic_work_id: string, sending_user_id: integer, receiving_user_id: integer, fulfillment_date: datetime, status: string, sender_comment: text, receiver_comment: text, created_at: datetime, updated_at: datetime)], @conditions={:receiving_user_id=>1, :status=>"pending"}, @block=nil>, #<CanCan::Rule:0x00000008800770 @match_all=false, @base_behavior=true, @actions=[:reject], @subjects=[ProxyDepositRequest(id: integer, generic_work_id: string, sending_user_id: integer, receiving_user_id: integer, fulfillment_date: datetime, status: string, sender_comment: text, receiver_comment: text, created_at: datetime, updated_at: datetime)], @conditions={:receiving_user_id=>1, :status=>"pending"}, @block=nil>, #<CanCan::Rule:0x00000008800518 @match_all=false, @base_behavior=true, @actions=[:destroy], @subjects=[ProxyDepositRequest(id: integer, generic_work_id: string, sending_user_id: integer, receiving_user_id: integer, fulfillment_date: datetime, status: string, sender_comment: text, receiver_comment: text, created_at: datetime, updated_at: datetime)], @conditions={:sending_user_id=>1, :status=>"pending"}, @block=nil>, #<CanCan::Rule:0x00000008800270 @match_all=false, @base_behavior=true, @actions=[:create], @subjects=[FileSet, Collection], @conditions={}, @block=nil>, #<CanCan::Rule:0x000000087f7d50 @match_all=false, @base_behavior=true, @actions=[:create], @subjects=[GenericWork], @conditions={}, @block=nil>], @rules_index={String=>[0, 3, 6, 17], ActiveFedora::Base=>[1, 4, 7], SolrDocument=>[2, 5, 8], ActiveFedora::File=>[9], CurationConcerns::ClassifyConcern(curation_concern_type: Object)=>[10], Hydra::AccessControls::Embargo=>[11], Hydra::AccessControls::Lease=>[12], :all=>[13], FileSet=>[14, 22], User(id: integer, email: string, encrypted_password: string, reset_password_token: string, reset_password_sent_at: datetime, remember_created_at: datetime, sign_in_count: integer, current_sign_in_at: datetime, last_sign_in_at: datetime, current_sign_in_ip: string, last_sign_in_ip: string, created_at: datetime, updated_at: datetime, guest: boolean, facebook_handle: string, twitter_handle: string, googleplus_handle: string, display_name: string, address: string, admin_area: string, department: string, title: string, office: string, chat_id: string, website: string, affiliation: string, telephone: string, avatar_file_name: string, avatar_content_type: string, avatar_file_size: integer, avatar_updated_at: datetime, group_list: text, groups_last_update: datetime, linkedin_handle: string, orcid: string, arkivo_token: string, arkivo_subscription: string, zotero_token: binary, zotero_userid: string)=>[15], ContentBlock(id: integer, name: string, value: text, created_at: datetime, updated_at: datetime, external_key: string)=>[16], ProxyDepositRequest(id: integer, generic_work_id: string, sending_user_id: integer, receiving_user_id: integer, fulfillment_date: datetime, status: string, sender_comment: text, receiver_comment: text, created_at: datetime, updated_at: datetime)=>[18, 19, 20, 21], Collection=>[22], GenericWork=>[23]}, @aliased_actions={:read=>[:index, :show, :stats, :citation], :create=>[:new], :update=>[:edit, :versions]}>> to be a kind of Sufia::CollectionPresenter
# ./spec/controllers/collections_controller_spec.rb:182:in `block (4 levels) in <top (required)>'
2) CollectionsController#edit is successful
Failure/Error: expect(assigns[:form]).to be_instance_of Sufia::Forms::CollectionForm
expected #<CurationConcerns::Forms::CollectionEditForm:0x00000009fa7270 @model=#<Collection id: "bv73c0402", head: [], tail: [], depositor: "[email protected]", part_of: [], contributor: [], creator: [], title: "My collection", description: "My incredibly detailed description of the collection", publisher: [], date_created: [], date_uploaded: nil, date_modified: nil, subject: [], language: [], rights: [], resource_type: [], identifier: [], based_near: [], tag: [], related_url: [], representative_id: nil, thumbnail_id: nil>, @attributes={"id"=>"bv73c0402", "head"=>[], "tail"=>[], "depositor"=>"[email protected]", "part_of"=>[], "contributor"=>[""], "creator"=>[""], "title"=>"My collection", "description"=>"My incredibly detailed description of the collection", "publisher"=>[""], "date_created"=>[""], "date_uploaded"=>nil, "date_modified"=>nil, "subject"=>[""], "language"=>[""], "rights"=>[""], "resource_type"=>[""], "identifier"=>[""], "based_near"=>[""], "tag"=>[""], "related_url"=>[""], "representative_id"=>"", "thumbnail_id"=>"", "visibility"=>""}> to be an instance of Sufia::Forms::CollectionForm
# ./spec/controllers/collections_controller_spec.rb:209:in `block (3 levels) in <top (required)>'
3) CurationConcerns::FileSetsController#create with browse-everything when a work id is passed records the work
Failure/Error:
post :create, selected_files: @json_from_browse_everything,
parent_id: work.id,
file_set: {},
upload_set_id: upload_set_id
ActionController::ParameterMissing:
param is missing or the value is empty: file_set
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/strong_parameters.rb:251:in `require'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/controllers/concerns/curation_concerns/file_sets_controller_behavior.rb:151:in `file_set_params'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/cancancan-1.13.1/lib/cancan/controller_resource.rb:224:in `resource_params'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/cancancan-1.13.1/lib/cancan/controller_resource.rb:80:in `build_resource'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/cancancan-1.13.1/lib/cancan/controller_resource.rb:61:in `load_resource_instance'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/cancancan-1.13.1/lib/cancan/controller_resource.rb:32:in `load_resource'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/cancancan-1.13.1/lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/cancancan-1.13.1/lib/cancan/controller_resource.rb:10:in `block in add_before_filter'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:448:in `instance_exec'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:448:in `block in make_lambda'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:145:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:145:in `block in halting_and_conditional'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:504:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:504:in `block in call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:504:in `each'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:504:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rescue.rb:29:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activerecord-4.2.5/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/base.rb:137:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/rendering.rb:30:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/test_case.rb:639:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/test_case.rb:67:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/devise-3.5.2/lib/devise/test_helpers.rb:19:in `block in process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/devise-3.5.2/lib/devise/test_helpers.rb:72:in `catch'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/devise-3.5.2/lib/devise/test_helpers.rb:72:in `_catch_warden'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/devise-3.5.2/lib/devise/test_helpers.rb:19:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/test_case.rb:520:in `post'
# ./spec/controllers/file_sets_controller_spec.rb:162:in `block (6 levels) in <top (required)>'
# ./spec/controllers/file_sets_controller_spec.rb:161:in `block (5 levels) in <top (required)>'
4) CurationConcerns::FileSetsController#create with local_file when User model defines a directory path when a work id is passed records the work
Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
Exactly one instance should have received the following message(s) but didn't: ingest_local_file
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-support-3.4.1/lib/rspec/support.rb:87:in `block in <module:Support>'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-support-3.4.1/lib/rspec/support.rb:96:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-support-3.4.1/lib/rspec/support.rb:96:in `notify_failure'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-mocks-3.4.0/lib/rspec/mocks/error_generator.rb:325:in `notify'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-mocks-3.4.0/lib/rspec/mocks/error_generator.rb:309:in `__raise'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-mocks-3.4.0/lib/rspec/mocks/any_instance/error_generator.rb:7:in `raise_second_instance_received_message_error'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-mocks-3.4.0/lib/rspec/mocks/any_instance/recorder.rb:94:in `verify'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-mocks-3.4.0/lib/rspec/mocks/space.rb:75:in `block in verify_all'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-mocks-3.4.0/lib/rspec/mocks/space.rb:75:in `each_value'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-mocks-3.4.0/lib/rspec/mocks/space.rb:75:in `verify_all'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-mocks-3.4.0/lib/rspec/mocks.rb:45:in `verify'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/mocking_adapters/rspec.rb:23:in `verify_mocks_for_rspec'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:491:in `verify_mocks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:485:in `run_after_example'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:251:in `block in run'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:477:in `block in with_around_and_singleton_context_hooks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:434:in `block in with_around_example_hooks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/hooks.rb:478:in `block in run'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/hooks.rb:618:in `block in run_around_example_hooks_for'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:319:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:319:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-rails-3.4.0/lib/rspec/rails/example/controller_example_group.rb:191:in `block (2 levels) in <module:ControllerExampleGroup>'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:424:in `instance_exec'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:424:in `instance_exec'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/hooks.rb:389:in `execute_with'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/hooks.rb:620:in `block (2 levels) in run_around_example_hooks_for'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:319:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:319:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-rails-3.4.0/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:424:in `instance_exec'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:424:in `instance_exec'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/hooks.rb:389:in `execute_with'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/hooks.rb:620:in `block (2 levels) in run_around_example_hooks_for'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:319:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:319:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/hooks.rb:621:in `run_around_example_hooks_for'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/hooks.rb:478:in `run'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:434:in `with_around_example_hooks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:477:in `with_around_and_singleton_context_hooks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example.rb:233:in `run'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:581:in `block in run_examples'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:577:in `map'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:577:in `run_examples'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:543:in `run'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:544:in `block in run'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:544:in `map'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:544:in `run'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:544:in `block in run'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:544:in `map'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:544:in `run'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:544:in `block in run'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:544:in `map'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:544:in `run'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:544:in `block in run'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:544:in `map'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/example_group.rb:544:in `run'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:115:in `block (3 levels) in run_specs'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:115:in `map'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:115:in `block (2 levels) in run_specs'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/configuration.rb:1680:in `with_suite_hooks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:114:in `block in run_specs'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/reporter.rb:77:in `report'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:113:in `run_specs'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:89:in `run'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:73:in `run'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/lib/rspec/core/runner.rb:41:in `invoke'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rspec-core-3.4.1/exe/rspec:4:in `<main>'
#
# Showing full backtrace because every line was filtered out.
# See docs for RSpec::Configuration#backtrace_exclusion_patterns and
# RSpec::Configuration#backtrace_inclusion_patterns for more information.
5) CurationConcerns::FileSetsController#edit sets the breadcrumbs and versions presenter
Failure/Error: expect(assigns[:version_list]).to be_kind_of CurationConcerns::VersionListPresenter
expected nil to be a kind of CurationConcerns::VersionListPresenter
# ./spec/controllers/file_sets_controller_spec.rb:331:in `block (3 levels) in <top (required)>'
6) CurationConcerns::FileSetsController update adds new groups and users
Failure/Error: expect(assigns[:file_set].read_groups).to eq ["group1"]
expected: ["group1"]
got: []
(compared using ==)
# ./spec/controllers/file_sets_controller_spec.rb:420:in `block (3 levels) in <top (required)>'
7) CurationConcerns::FileSetsController update updates existing groups and users
Failure/Error: expect(assigns[:file_set].read_groups).to eq(["group3"])
expected: ["group3"]
got: []
(compared using ==)
# ./spec/controllers/file_sets_controller_spec.rb:434:in `block (3 levels) in <top (required)>'
8) CurationConcerns::FileSetsController someone else's files #show shows me the file and set breadcrumbs
Failure/Error: expect(assigns[:presenter]).to be_kind_of Sufia::FileSetPresenter
expected #<CurationConcerns::FileSetPresenter:0x00000013f27368 @solr_document=#<SolrDocument:0x00000013d34128 @_source={"system_create_dtsi"=>"2015-12-09T19:26:24Z", "system_modified_dtsi"=>"2015-12-09T19:26:25Z", "active_fedora_model_ssi"=>"FileSet", "has_model_ssim"=>["FileSet"], "id"=>"zc77sq096", "object_profile_ssm"=>["{\"id\":\"zc77sq096\",\"head\":[],\"tail\":[],\"filename\":null,\"format_label\":[],\"file_size\":[],\"well_formed\":[],\"valid\":[],\"date_created\":[],\"last_modified\":[],\"fits_version\":[],\"exif_version\":[],\"original_checksum\":[],\"mime_type\":null,\"byte_order\":null,\"compression\":null,\"height\":[],\"width\":[],\"color_space\":null,\"profile_name\":[],\"profile_version\":[],\"orientation\":null,\"color_map\":[],\"image_producer\":[],\"capture_device\":[],\"scanning_software\":[],\"gps_timestamp\":[],\"latitude\":[],\"longitude\":[],\"bit_depth\":[],\"channels\":[],\"data_format\":[],\"frame_rate\":[],\"duration\":[],\"sample_rate\":[],\"file_title\":[],\"file_author\":[],\"page_count\":[],\"file_language\":[],\"word_count\":[],\"character_count\":[],\"line_count\":[],\"character_set\":[],\"markup_basis\":[],\"markup_language\":[],\"paragraph_count\":[],\"table_count\":[],\"graphics_count\":[],\"label\":null,\"relative_path\":null,\"import_url\":null,\"part_of\":[],\"resource_type\":[],\"creator\":[],\"contributor\":[],\"description\":[],\"tag\":[],\"rights\":[],\"publisher\":[],\"date_uploaded\":null,\"date_modified\":null,\"subject\":[],\"language\":[],\"identifier\":[],\"based_near\":[],\"related_url\":[],\"bibliographic_citation\":[],\"source\":[],\"depositor\":\"[email protected]\",\"title\":[],\"embargo_id\":null,\"lease_id\":null}"], "depositor_ssim"=>["[email protected]"], "depositor_tesim"=>["[email protected]"], "hasRelatedMediaFragment_ssim"=>["zc77sq096"], "hasRelatedImage_ssim"=>["zc77sq096"], "thumbnail_path_ss"=>"/assets/default.png", "digest_ssim"=>["urn:sha1:f794b23c0c6fe1083d0ca8b58261a078cd968967"], "read_access_group_ssim"=>["public"], "edit_access_person_ssim"=>["[email protected]"], "human_readable_type_tesim"=>["File"], "timestamp"=>"2015-12-09T19:26:25.758Z", "score"=>1.0}, @response={"responseHeader"=>{"status"=>0, "QTime"=>1, "params"=>{"qt"=>"search", "fq"=>["edit_access_group_ssim:public OR discover_access_group_ssim:public OR read_access_group_ssim:public OR edit_access_group_ssim:registered OR discover_access_group_ssim:registered OR read_access_group_ssim:registered OR edit_access_person_ssim:[email protected] OR discover_access_person_ssim:[email protected] OR read_access_person_ssim:[email protected]", "_query_:\"{!raw f=id}zc77sq096\"", "_query_:\"{!raw f=has_model_ssim}FileSet\""], "wt"=>"ruby"}}, "response"=>{"numFound"=>1, "start"=>0, "maxScore"=>1.0, "docs"=>[{"system_create_dtsi"=>"2015-12-09T19:26:24Z", "system_modified_dtsi"=>"2015-12-09T19:26:25Z", "active_fedora_model_ssi"=>"FileSet", "has_model_ssim"=>["FileSet"], "id"=>"zc77sq096", "object_profile_ssm"=>["{\"id\":\"zc77sq096\",\"head\":[],\"tail\":[],\"filename\":null,\"format_label\":[],\"file_size\":[],\"well_formed\":[],\"valid\":[],\"date_created\":[],\"last_modified\":[],\"fits_version\":[],\"exif_version\":[],\"original_checksum\":[],\"mime_type\":null,\"byte_order\":null,\"compression\":null,\"height\":[],\"width\":[],\"color_space\":null,\"profile_name\":[],\"profile_version\":[],\"orientation\":null,\"color_map\":[],\"image_producer\":[],\"capture_device\":[],\"scanning_software\":[],\"gps_timestamp\":[],\"latitude\":[],\"longitude\":[],\"bit_depth\":[],\"channels\":[],\"data_format\":[],\"frame_rate\":[],\"duration\":[],\"sample_rate\":[],\"file_title\":[],\"file_author\":[],\"page_count\":[],\"file_language\":[],\"word_count\":[],\"character_count\":[],\"line_count\":[],\"character_set\":[],\"markup_basis\":[],\"markup_language\":[],\"paragraph_count\":[],\"table_count\":[],\"graphics_count\":[],\"label\":null,\"relative_path\":null,\"import_url\":null,\"part_of\":[],\"resource_type\":[],\"creator\":[],\"contributor\":[],\"description\":[],\"tag\":[],\"rights\":[],\"publisher\":[],\"date_uploaded\":null,\"date_modified\":null,\"subject\":[],\"language\":[],\"identifier\":[],\"based_near\":[],\"related_url\":[],\"bibliographic_citation\":[],\"source\":[],\"depositor\":\"[email protected]\",\"title\":[],\"embargo_id\":null,\"lease_id\":null}"], "depositor_ssim"=>["[email protected]"], "depositor_tesim"=>["[email protected]"], "hasRelatedMediaFragment_ssim"=>["zc77sq096"], "hasRelatedImage_ssim"=>["zc77sq096"], "thumbnail_path_ss"=>"/assets/default.png", "digest_ssim"=>["urn:sha1:f794b23c0c6fe1083d0ca8b58261a078cd968967"], "read_access_group_ssim"=>["public"], "edit_access_person_ssim"=>["[email protected]"], "human_readable_type_tesim"=>["File"], "timestamp"=>"2015-12-09T19:26:25.758Z", "score"=>1.0}]}, "facet_counts"=>{"facet_queries"=>{}, "facet_fields"=>{"active_fedora_model_ssi"=>["FileSet", 1], "object_type_si"=>[]}, "facet_dates"=>{}, "facet_ranges"=>{}, "facet_intervals"=>{}}}, @export_formats={:xml=>{:content_type=>"application/xml"}, :dc_xml=>{:content_type=>"text/xml"}, :oai_dc_xml=>{:content_type=>"text/xml"}, :nt=>{:content_type=>"application/n-triples"}, :jsonld=>{:content_type=>"application/ld+json"}, :ttl=>{:content_type=>"text/turtle"}}>, @current_ability=#<Ability:0x00000012ea7f88 @current_user=#<User id: 1, email: "[email protected]", encrypted_password: "$2a$04$FjCNnMoMS/swMePY1Xcyl.wbsNBYt1JvP.Pu1uu5mn7...", reset_password_token: nil, reset_password_sent_at: nil, remember_created_at: nil, sign_in_count: 0, current_sign_in_at: nil, last_sign_in_at: nil, current_sign_in_ip: nil, last_sign_in_ip: nil, created_at: "2015-12-09 19:26:24", updated_at: "2015-12-09 19:26:24", guest: false, facebook_handle: nil, twitter_handle: nil, googleplus_handle: nil, display_name: nil, address: nil, admin_area: nil, department: nil, title: nil, office: nil, chat_id: nil, website: nil, affiliation: nil, telephone: nil, avatar_file_name: nil, avatar_content_type: nil, avatar_file_size: nil, avatar_updated_at: nil, group_list: nil, groups_last_update: nil, linkedin_handle: nil, orcid: nil, arkivo_token: "Vo30QM3Yw0akU2QzV9vBx3WYK6AdG8nz", arkivo_subscription: nil, zotero_token: nil, zotero_userid: nil>, @user=#<User id: 1, email: "[email protected]", encrypted_password: "$2a$04$FjCNnMoMS/swMePY1Xcyl.wbsNBYt1JvP.Pu1uu5mn7...", reset_password_token: nil, reset_password_sent_at: nil, remember_created_at: nil, sign_in_count: 0, current_sign_in_at: nil, last_sign_in_at: nil, current_sign_in_ip: nil, last_sign_in_ip: nil, created_at: "2015-12-09 19:26:24", updated_at: "2015-12-09 19:26:24", guest: false, facebook_handle: nil, twitter_handle: nil, googleplus_handle: nil, display_name: nil, address: nil, admin_area: nil, department: nil, title: nil, office: nil, chat_id: nil, website: nil, affiliation: nil, telephone: nil, avatar_file_name: nil, avatar_content_type: nil, avatar_file_size: nil, avatar_updated_at: nil, group_list: nil, groups_last_update: nil, linkedin_handle: nil, orcid: nil, arkivo_token: "Vo30QM3Yw0akU2QzV9vBx3WYK6AdG8nz", arkivo_subscription: nil, zotero_token: nil, zotero_userid: nil>, @options={}, @cache=#<Hydra::PermissionsCache:0x00000012ea7f38 @cache={}>, @user_groups=["public", "registered"], @rules=[#<CanCan::Rule:0x00000015473848 @match_all=false, @base_behavior=true, @actions=[:edit, :update, :destroy], @subjects=[String], @conditions={}, @block=#<Proc:0x00000015473870@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:61>>, #<CanCan::Rule:0x000000154735c8 @match_all=false, @base_behavior=true, @actions=[:edit, :update, :destroy], @subjects=[ActiveFedora::Base], @conditions={}, @block=#<Proc:0x000000154735f0@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:65>>, #<CanCan::Rule:0x000000154733e8 @match_all=false, @base_behavior=true, @actions=[:edit, :update, :destroy], @subjects=[SolrDocument], @conditions={}, @block=#<Proc:0x00000015473410@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:69>>, #<CanCan::Rule:0x000000154731b8 @match_all=false, @base_behavior=true, @actions=[:read], @subjects=[String], @conditions={}, @block=#<Proc:0x000000154731e0@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:76>>, #<CanCan::Rule:0x00000015473028 @match_all=false, @base_behavior=true, @actions=[:read], @subjects=[ActiveFedora::Base], @conditions={}, @block=#<Proc:0x00000015473050@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:80>>, #<CanCan::Rule:0x00000015472e98 @match_all=false, @base_behavior=true, @actions=[:read], @subjects=[SolrDocument], @conditions={}, @block=#<Proc:0x00000015472ec0@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:84>>, #<CanCan::Rule:0x00000015472ce0 @match_all=false, @base_behavior=true, @actions=[:discover], @subjects=[String], @conditions={}, @block=#<Proc:0x00000015472d08@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:91>>, #<CanCan::Rule:0x00000015472b50 @match_all=false, @base_behavior=true, @actions=[:discover], @subjects=[ActiveFedora::Base], @conditions={}, @block=#<Proc:0x00000015472b78@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:95>>, #<CanCan::Rule:0x000000154729c0 @match_all=false, @base_behavior=true, @actions=[:discover], @subjects=[SolrDocument], @conditions={}, @block=#<Proc:0x000000154729e8@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:99>>, #<CanCan::Rule:0x00000015472808 @match_all=false, @base_behavior=true, @actions=[:download], @subjects=[ActiveFedora::File], @conditions={}, @block=#<Proc:0x00000015472830@/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-access-controls-9.5.0/lib/hydra/ability.rb:107>>, #<CanCan::Rule:0x00000015472628 @match_all=false, @base_behavior=true, @actions=[:create], @subjects=[CurationConcerns::ClassifyConcern(curation_concern_type: Object)], @conditions={}, @block=nil>, #<CanCan::Rule:0x000000154722b8 @match_all=false, @base_behavior=false, @actions=[:index], @subjects=[Hydra::AccessControls::Embargo], @conditions={}, @block=nil>, #<CanCan::Rule:0x00000015472100 @match_all=false, @base_behavior=false, @actions=[:index], @subjects=[Hydra::AccessControls::Lease], @conditions={}, @block=nil>, #<CanCan::Rule:0x00000015471f48 @match_all=false, @base_behavior=true, @actions=[:collect], @subjects=[:all], @conditions={}, @block=nil>, #<CanCan::Rule:0x00000015471d90 @match_all=false, @base_behavior=true, @actions=[:view_share_work], @subjects=[FileSet], @conditions={}, @block=nil>, #<CanCan::Rule:0x00000015471bb0 @match_all=false, @base_behavior=true, @actions=[:edit, :update, :toggle_trophy], @subjects=[User(id: integer, email: string, encrypted_password: string, reset_password_token: string, reset_password_sent_at: datetime, remember_created_at: datetime, sign_in_count: integer, current_sign_in_at: datetime, last_sign_in_at: datetime, current_sign_in_ip: string, last_sign_in_ip: string, created_at: datetime, updated_at: datetime, guest: boolean, facebook_handle: string, twitter_handle: string, googleplus_handle: string, display_name: string, address: string, admin_area: string, department: string, title: string, office: string, chat_id: string, website: string, affiliation: string, telephone: string, avatar_file_name: string, avatar_content_type: string, avatar_file_size: integer, avatar_updated_at: datetime, group_list: text, groups_last_update: datetime, linkedin_handle: string, orcid: string, arkivo_token: string, arkivo_subscription: string, zotero_token: binary, zotero_userid: string)], @conditions={:id=>1}, @block=nil>, #<CanCan::Rule:0x000000154719a8 @match_all=false, @base_behavior=true, @actions=[:read], @subjects=[ContentBlock(id: integer, name: string, value: text, created_at: datetime, updated_at: datetime, external_key: string)], @conditions={}, @block=nil>, #<CanCan::Rule:0x000000154714f8 @match_all=false, @base_behavior=true, @actions=[:transfer], @subjects=[String], @conditions={}, @block=#<Proc:0x00000015471520@/home/mjg/workspace/sufia/app/models/concerns/sufia/ability.rb:20>>, #<CanCan::Rule:0x00000015471368 @match_all=false, @base_behavior=true, @actions=[:create], @subjects=[ProxyDepositRequest(id: integer, generic_work_id: string, sending_user_id: integer, receiving_user_id: integer, fulfillment_date: datetime, status: string, sender_comment: text, receiver_comment: text, created_at: datetime, updated_at: datetime)], @conditions={}, @block=nil>, #<CanCan::Rule:0x00000015471110 @match_all=false, @base_behavior=true, @actions=[:accept], @subjects=[ProxyDepositRequest(id: integer, generic_work_id: string, sending_user_id: integer, receiving_user_id: integer, fulfillment_date: datetime, status: string, sender_comment: text, receiver_comment: text, created_at: datetime, updated_at: datetime)], @conditions={:receiving_user_id=>1, :status=>"pending"}, @block=nil>, #<CanCan::Rule:0x00000015470f08 @match_all=false, @base_behavior=true, @actions=[:reject], @subjects=[ProxyDepositRequest(id: integer, generic_work_id: string, sending_user_id: integer, receiving_user_id: integer, fulfillment_date: datetime, status: string, sender_comment: text, receiver_comment: text, created_at: datetime, updated_at: datetime)], @conditions={:receiving_user_id=>1, :status=>"pending"}, @block=nil>, #<CanCan::Rule:0x00000015470d00 @match_all=false, @base_behavior=true, @actions=[:destroy], @subjects=[ProxyDepositRequest(id: integer, generic_work_id: string, sending_user_id: integer, receiving_user_id: integer, fulfillment_date: datetime, status: string, sender_comment: text, receiver_comment: text, created_at: datetime, updated_at: datetime)], @conditions={:sending_user_id=>1, :status=>"pending"}, @block=nil>, #<CanCan::Rule:0x00000015470af8 @match_all=false, @base_behavior=true, @actions=[:create], @subjects=[FileSet, Collection], @conditions={}, @block=nil>, #<CanCan::Rule:0x000000154707d8 @match_all=false, @base_behavior=true, @actions=[:create], @subjects=[GenericWork], @conditions={}, @block=nil>], @rules_index={String=>[0, 3, 6, 17], ActiveFedora::Base=>[1, 4, 7], SolrDocument=>[2, 5, 8], ActiveFedora::File=>[9], CurationConcerns::ClassifyConcern(curation_concern_type: Object)=>[10], Hydra::AccessControls::Embargo=>[11], Hydra::AccessControls::Lease=>[12], :all=>[13], FileSet=>[14, 22], User(id: integer, email: string, encrypted_password: string, reset_password_token: string, reset_password_sent_at: datetime, remember_created_at: datetime, sign_in_count: integer, current_sign_in_at: datetime, last_sign_in_at: datetime, current_sign_in_ip: string, last_sign_in_ip: string, created_at: datetime, updated_at: datetime, guest: boolean, facebook_handle: string, twitter_handle: string, googleplus_handle: string, display_name: string, address: string, admin_area: string, department: string, title: string, office: string, chat_id: string, website: string, affiliation: string, telephone: string, avatar_file_name: string, avatar_content_type: string, avatar_file_size: integer, avatar_updated_at: datetime, group_list: text, groups_last_update: datetime, linkedin_handle: string, orcid: string, arkivo_token: string, arkivo_subscription: string, zotero_token: binary, zotero_userid: string)=>[15], ContentBlock(id: integer, name: string, value: text, created_at: datetime, updated_at: datetime, external_key: string)=>[16], ProxyDepositRequest(id: integer, generic_work_id: string, sending_user_id: integer, receiving_user_id: integer, fulfillment_date: datetime, status: string, sender_comment: text, receiver_comment: text, created_at: datetime, updated_at: datetime)=>[18, 19, 20, 21], Collection=>[22], GenericWork=>[23]}, @aliased_actions={:read=>[:index, :show, :stats, :citation], :create=>[:new], :update=>[:edit, :versions]}>> to be a kind of Sufia::FileSetPresenter
# ./spec/controllers/file_sets_controller_spec.rb:494:in `block (4 levels) in <top (required)>'
9) CurationConcerns::FileSetsController someone else's files #show renders an endnote file
Failure/Error: get :show, id: file_set, format: 'endnote'
ActionController::UnknownFormat:
ActionController::UnknownFormat
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/mime_responds.rb:219:in `respond_to'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/controllers/concerns/curation_concerns/file_sets_controller_behavior.rb:56:in `show'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/base.rb:198:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rendering.rb:10:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:117:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:117:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rescue.rb:29:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activerecord-4.2.5/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/base.rb:137:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/rendering.rb:30:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/test_case.rb:639:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/test_case.rb:67:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/devise-3.5.2/lib/devise/test_helpers.rb:19:in `block in process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/devise-3.5.2/lib/devise/test_helpers.rb:72:in `catch'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/devise-3.5.2/lib/devise/test_helpers.rb:72:in `_catch_warden'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/devise-3.5.2/lib/devise/test_helpers.rb:19:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/test_case.rb:514:in `get'
# ./spec/controllers/file_sets_controller_spec.rb:501:in `block (4 levels) in <top (required)>'
10) CurationConcerns::FileSetsController flash doesn't let the user submit if they logout
Failure/Error: expect(flash[:alert]).to include("You need to sign in or sign up before continuing")
expected "You are not authorized to access this page." to include "You need to sign in or sign up before continuing"
# ./spec/controllers/file_sets_controller_spec.rb:512:in `block (3 levels) in <top (required)>'
11) CurationConcerns::FileSetsController GET /new sets the form
Failure/Error: expect(assigns[:upload_set_id]).to be_present
expected `nil.present?` to return true, got false
# ./spec/controllers/file_sets_controller_spec.rb:537:in `block (3 levels) in <top (required)>'
12) UploadSetsController#update enquing a update job is successful
Failure/Error: expect(response).to redirect_to Sufia::Engine.routes.url_helpers.dashboard_files_path
Expected response to be a redirect to <http://test.host/dashboard/files> but was a redirect to <http://test.host/concern/generic_works>.
Expected "http://test.host/dashboard/files" to be === "http://test.host/concern/generic_works".
# ./spec/controllers/upload_sets_controller_spec.rb:23:in `block (4 levels) in <top (required)>'
13) UploadSetsController#update when submiting works on behalf of another user redirects to my shares page
Failure/Error: expect(response).to redirect_to Sufia::Engine.routes.url_helpers.dashboard_shares_path
Expected response to be a redirect to <http://test.host/dashboard/shares> but was a redirect to <http://test.host/concern/generic_works>.
Expected "http://test.host/dashboard/shares" to be === "http://test.host/concern/generic_works".
# ./spec/controllers/upload_sets_controller_spec.rb:37:in `block (4 levels) in <top (required)>'
14) UploadSetsController#update when user has edit permissions on a file sets the groups
Failure/Error: expect(response).to redirect_to Sufia::Engine.routes.url_helpers.dashboard_files_path
Expected response to be a redirect to <http://test.host/dashboard/files> but was a redirect to <http://test.host/concern/generic_works>.
Expected "http://test.host/dashboard/files" to be === "http://test.host/concern/generic_works".
# ./spec/controllers/upload_sets_controller_spec.rb:47:in `block (4 levels) in <top (required)>'
15) UploadSetsController#edit defaults creator
Failure/Error: expect(assigns[:form].creator[0]).to eq user.display_name
expected: "Jill Z. User"
got: "[email protected]"
(compared using ==)
# ./spec/controllers/upload_sets_controller_spec.rb:98:in `block (3 levels) in <top (required)>'
16) Browse catalog: when not logged in using facet pagination to browse by tags
Failure/Error: click_link "Keyword"
Capybara::ElementNotFound:
Unable to find link "Keyword"
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/finders.rb:43:in `block in find'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/base.rb:84:in `synchronize'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/finders.rb:32:in `find'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/actions.rb:26:in `click_link'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/session.rb:698:in `block (2 levels) in <class:Session>'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/browse_catalog_spec.rb:39:in `block (3 levels) in <top (required)>'
17) Selecting files to import from cloud providers has a Cloud file picker using browse-everything
Failure/Error: <%= render 'curation_concerns/file_sets/upload/alerts' %>
ActionView::Template::Error:
undefined method `to_model' for nil:NilClass
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:297:in `handle_list'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:206:in `polymorphic_method'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:134:in `polymorphic_path'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:161:in `polymorphic_path_for_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:149:in `edit_polymorphic_path'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views/curation_concerns/file_sets/upload/_alerts.html.erb:5:in `__home_mjg__rvm_gems_ruby_______sufia_bundler_gems_curation_concerns_ef_____a___a_app_views_curation_concerns_file_sets_upload__alerts_html_erb___1352085590106285148_174430300'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:145:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:166:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:333:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:143:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:309:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:47:in `render_partial'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/rendering_helper.rb:35:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
# ./app/views/curation_concerns/file_sets/new.html.erb:2:in `__home_mjg_workspace_sufia_app_views_curation_concerns_file_sets_new_html_erb___2107900887253511460_188117800'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:145:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:166:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:333:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:143:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:52:in `render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:14:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:42:in `render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:23:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/rendering.rb:100:in `_render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/streaming.rb:217:in `_render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/rendering.rb:83:in `render_to_body'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rendering.rb:32:in `render_to_body'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/renderers.rb:37:in `render_to_body'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/rendering.rb:25:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rendering.rb:16:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/core_ext/benchmark.rb:12:in `ms'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:44:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activerecord-4.2.5/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:43:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/base.rb:198:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rendering.rb:10:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:117:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:117:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rescue.rb:29:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activerecord-4.2.5/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/base.rb:137:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/rendering.rb:30:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal.rb:196:in `dispatch'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal.rb:237:in `block in action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:76:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:45:in `serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:43:in `block in serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `each'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:817:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/engine.rb:518:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/railtie.rb:194:in `public_send'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/railtie.rb:194:in `method_missing'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/mapper.rb:51:in `serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:43:in `block in serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `each'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:817:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/flash.rb:260:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/cookies.rb:560:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activerecord-4.2.5/lib/active_record/query_cache.rb:36:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/active-fedora-9.7.0/lib/active_fedora/ldp_cache.rb:26:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/rack/logger.rb:38:in `call_app'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/rack/logger.rb:20:in `block in call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/tagged_logging.rb:68:in `block in tagged'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/tagged_logging.rb:26:in `tagged'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/tagged_logging.rb:68:in `tagged'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/rack/logger.rb:20:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/request_id.rb:21:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/static.rb:116:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/engine.rb:518:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/application.rb:165:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-test-0.6.3/lib/rack/test.rb:58:in `get'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/rack_test/browser.rb:60:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/rack_test/browser.rb:35:in `process_and_follow_redirects'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/rack_test/browser.rb:31:in `follow'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/rack_test/node.rb:57:in `click'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/element.rb:134:in `block in click'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/base.rb:84:in `synchronize'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/element.rb:134:in `click'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/actions.rb:26:in `click_link'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/session.rb:698:in `block (2 levels) in <class:Session>'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/cloud_upload_spec.rb:6:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# NoMethodError:
# undefined method `to_model' for nil:NilClass
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:297:in `handle_list'
18) collection collection show page shows a collection with a listing of Descriptive Metadata and catalog-style search results
Failure/Error: expect(page).to have_content("Descriptions")
expected to find text "Descriptions" in "Your Institution Your Division at Institution Search Repository Search Repository Search Repository Add Add a Work New Generic Work Add a Collection [email protected] My Works My Collections Embargos Leases Log Out collection title collection description Actions Edit Add files from your dashboard Attributes Attribute NameValues Description collection description Visibility Open Access Search Collection collection title Go × Add to collection You do not have access to any existing collections. You may create a new collection. Close Sort By: relevance date uploaded ▼ date uploaded ▲ date modified ▼ date modified ▲ Show 10 20 50 100 per page Refresh View results as: List Gallery Masonry Slideshow Items in this Collection List of files deposited in Repository that match your search criteria King Louie Title: King Louie Depositor: [email protected] Creator: [] Description: Keywords: Date Uploaded: King Kong Title: King Kong Depositor: [email protected] Creator: [] Description: Keywords: Date Uploaded: Powered by CurationConcerns. Made possible by the Hydra project."
# ./spec/features/collection_spec.rb:120:in `block (3 levels) in <top (required)>'
19) collection add works to collection preselects the collection we are adding works to
Failure/Error: first('input#check_all').click
NoMethodError:
undefined method `click' for nil:NilClass
# ./spec/features/collection_spec.rb:201:in `block (3 levels) in <top (required)>'
20) collection edit collection edits and update collection metadata
Failure/Error:
within('.primary-actions') do
click_button('Update Collection')
Capybara::ElementNotFound:
Unable to find css ".primary-actions"
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/finders.rb:43:in `block in find'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/base.rb:84:in `synchronize'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/finders.rb:32:in `find'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/session.rb:698:in `block (2 levels) in <class:Session>'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/session.rb:287:in `within'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/collection_spec.rb:245:in `block (3 levels) in <top (required)>'
21) collection Removing a file from a collection is successful
Failure/Error: first('button.dropdown-toggle').click
NoMethodError:
undefined method `click' for nil:NilClass
# ./spec/features/collection_spec.rb:271:in `block (4 levels) in <top (required)>'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/session.rb:290:in `within'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/collection_spec.rb:270:in `block (3 levels) in <top (required)>'
22) collection Removing all files from a collection is successful
Failure/Error: first('input#check_all').click
NoMethodError:
undefined method `click' for nil:NilClass
# ./spec/features/collection_spec.rb:293:in `block (3 levels) in <top (required)>'
23) The Dashboard upon sign-in lets the user upload files
Failure/Error: <%= render 'curation_concerns/file_sets/upload/alerts' %>
ActionView::Template::Error:
undefined method `to_model' for nil:NilClass
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:297:in `handle_list'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:206:in `polymorphic_method'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:134:in `polymorphic_path'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:161:in `polymorphic_path_for_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:149:in `edit_polymorphic_path'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views/curation_concerns/file_sets/upload/_alerts.html.erb:5:in `__home_mjg__rvm_gems_ruby_______sufia_bundler_gems_curation_concerns_ef_____a___a_app_views_curation_concerns_file_sets_upload__alerts_html_erb___1352085590106285148_174430300'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:145:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:166:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:333:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:143:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:309:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:47:in `render_partial'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/rendering_helper.rb:35:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
# ./app/views/curation_concerns/file_sets/new.html.erb:2:in `__home_mjg_workspace_sufia_app_views_curation_concerns_file_sets_new_html_erb___2107900887253511460_188117800'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:145:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:166:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:333:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:143:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:52:in `render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:14:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:42:in `render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:23:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/rendering.rb:100:in `_render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/streaming.rb:217:in `_render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/rendering.rb:83:in `render_to_body'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rendering.rb:32:in `render_to_body'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/renderers.rb:37:in `render_to_body'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/rendering.rb:25:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rendering.rb:16:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/core_ext/benchmark.rb:12:in `ms'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:44:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activerecord-4.2.5/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:43:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/base.rb:198:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rendering.rb:10:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:117:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:117:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rescue.rb:29:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activerecord-4.2.5/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/base.rb:137:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/rendering.rb:30:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal.rb:196:in `dispatch'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal.rb:237:in `block in action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:76:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:45:in `serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:43:in `block in serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `each'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:817:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/engine.rb:518:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/railtie.rb:194:in `public_send'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/railtie.rb:194:in `method_missing'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/mapper.rb:51:in `serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:43:in `block in serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `each'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:817:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/flash.rb:260:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/cookies.rb:560:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activerecord-4.2.5/lib/active_record/query_cache.rb:36:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/active-fedora-9.7.0/lib/active_fedora/ldp_cache.rb:26:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/rack/logger.rb:38:in `call_app'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/rack/logger.rb:20:in `block in call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/tagged_logging.rb:68:in `block in tagged'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/tagged_logging.rb:26:in `tagged'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/tagged_logging.rb:68:in `tagged'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/rack/logger.rb:20:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/request_id.rb:21:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/static.rb:116:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/engine.rb:518:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/application.rb:165:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-test-0.6.3/lib/rack/test.rb:58:in `get'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/rack_test/browser.rb:60:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/rack_test/browser.rb:35:in `process_and_follow_redirects'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/rack_test/browser.rb:31:in `follow'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/rack_test/node.rb:57:in `click'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/element.rb:134:in `block in click'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/base.rb:84:in `synchronize'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/element.rb:134:in `click'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/actions.rb:26:in `click_link'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/session.rb:698:in `block (2 levels) in <class:Session>'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/display_dashboard_spec.rb:17:in `block (3 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# NoMethodError:
# undefined method `to_model' for nil:NilClass
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:297:in `handle_list'
24) Editing a file: when the user tries to update file content, but forgets to select a file: shows the edit page again
Failure/Error: click_link 'Versions'
Capybara::ElementNotFound:
Unable to find link "Versions"
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/finders.rb:43:in `block in find'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/base.rb:84:in `synchronize'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/finders.rb:32:in `find'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/actions.rb:26:in `click_link'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/session.rb:698:in `block (2 levels) in <class:Session>'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/edit_file_spec.rb:18:in `block (3 levels) in <top (required)>'
25) Uploading files via web form has an ingest screen
Failure/Error: <%= render 'curation_concerns/file_sets/upload/alerts' %>
ActionView::Template::Error:
undefined method `to_model' for nil:NilClass
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:297:in `handle_list'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:206:in `polymorphic_method'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:134:in `polymorphic_path'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:161:in `polymorphic_path_for_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:149:in `edit_polymorphic_path'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views/curation_concerns/file_sets/upload/_alerts.html.erb:5:in `__home_mjg__rvm_gems_ruby_______sufia_bundler_gems_curation_concerns_ef_____a___a_app_views_curation_concerns_file_sets_upload__alerts_html_erb___1352085590106285148_174430300'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:145:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:166:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:333:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:143:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:309:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:47:in `render_partial'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/rendering_helper.rb:35:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
# ./app/views/curation_concerns/file_sets/new.html.erb:2:in `__home_mjg_workspace_sufia_app_views_curation_concerns_file_sets_new_html_erb___2107900887253511460_188117800'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:145:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:166:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:333:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:143:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:52:in `render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:14:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:42:in `render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:23:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/rendering.rb:100:in `_render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/streaming.rb:217:in `_render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/rendering.rb:83:in `render_to_body'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rendering.rb:32:in `render_to_body'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/renderers.rb:37:in `render_to_body'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/rendering.rb:25:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rendering.rb:16:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/core_ext/benchmark.rb:12:in `ms'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:44:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activerecord-4.2.5/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:43:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/base.rb:198:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rendering.rb:10:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:117:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:117:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rescue.rb:29:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activerecord-4.2.5/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/base.rb:137:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/rendering.rb:30:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal.rb:196:in `dispatch'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal.rb:237:in `block in action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:76:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:45:in `serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:43:in `block in serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `each'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:817:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/engine.rb:518:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/railtie.rb:194:in `public_send'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/railtie.rb:194:in `method_missing'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/mapper.rb:51:in `serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:43:in `block in serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `each'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:817:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/flash.rb:260:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/cookies.rb:560:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activerecord-4.2.5/lib/active_record/query_cache.rb:36:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/active-fedora-9.7.0/lib/active_fedora/ldp_cache.rb:26:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/rack/logger.rb:38:in `call_app'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/rack/logger.rb:20:in `block in call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/tagged_logging.rb:68:in `block in tagged'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/tagged_logging.rb:26:in `tagged'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/tagged_logging.rb:68:in `tagged'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/rack/logger.rb:20:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/request_id.rb:21:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/static.rb:116:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/engine.rb:518:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/application.rb:165:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-test-0.6.3/lib/rack/mock_session.rb:30:in `request'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-test-0.6.3/lib/rack/test.rb:244:in `process_request'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-test-0.6.3/lib/rack/test.rb:58:in `get'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/rack_test/browser.rb:60:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/rack_test/browser.rb:35:in `process_and_follow_redirects'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/rack_test/browser.rb:31:in `follow'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/rack_test/node.rb:57:in `click'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/element.rb:134:in `block in click'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/base.rb:84:in `synchronize'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/element.rb:134:in `click'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/actions.rb:26:in `click_link'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/session.rb:698:in `block (2 levels) in <class:Session>'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/ingest_upload_files_spec.rb:6:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# NoMethodError:
# undefined method `to_model' for nil:NilClass
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:297:in `handle_list'
26) Uploading files via web form the terms of service is required to be checked
Failure/Error: <%= render 'curation_concerns/file_sets/upload/alerts' %>
ActionView::Template::Error:
undefined method `to_model' for nil:NilClass
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:297:in `handle_list'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:206:in `polymorphic_method'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:134:in `polymorphic_path'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:161:in `polymorphic_path_for_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/polymorphic_routes.rb:149:in `edit_polymorphic_path'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views/curation_concerns/file_sets/upload/_alerts.html.erb:5:in `__home_mjg__rvm_gems_ruby_______sufia_bundler_gems_curation_concerns_ef_____a___a_app_views_curation_concerns_file_sets_upload__alerts_html_erb___1352085590106285148_174430300'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:145:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:166:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:333:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:143:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:309:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:47:in `render_partial'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/rendering_helper.rb:35:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
# ./app/views/curation_concerns/file_sets/new.html.erb:2:in `__home_mjg_workspace_sufia_app_views_curation_concerns_file_sets_new_html_erb___2107900887253511460_188117800'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:145:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:166:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:333:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:143:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:52:in `render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:14:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:42:in `render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:23:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/rendering.rb:100:in `_render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/streaming.rb:217:in `_render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/rendering.rb:83:in `render_to_body'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rendering.rb:32:in `render_to_body'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/renderers.rb:37:in `render_to_body'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/rendering.rb:25:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rendering.rb:16:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/core_ext/benchmark.rb:12:in `ms'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:44:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activerecord-4.2.5/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:43:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/base.rb:198:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rendering.rb:10:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:117:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:117:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:505:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rescue.rb:29:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activerecord-4.2.5/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/abstract_controller/base.rb:137:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/rendering.rb:30:in `process'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal.rb:196:in `dispatch'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_controller/metal.rb:237:in `block in action'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:76:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:45:in `serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:43:in `block in serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `each'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:817:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/engine.rb:518:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/railtie.rb:194:in `public_send'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/railtie.rb:194:in `method_missing'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/mapper.rb:51:in `serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:43:in `block in serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `each'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/journey/router.rb:30:in `serve'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/routing/route_set.rb:817:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/flash.rb:260:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/cookies.rb:560:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activerecord-4.2.5/lib/active_record/query_cache.rb:36:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/active-fedora-9.7.0/lib/active_fedora/ldp_cache.rb:26:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/rack/logger.rb:38:in `call_app'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/rack/logger.rb:20:in `block in call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/tagged_logging.rb:68:in `block in tagged'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/tagged_logging.rb:26:in `tagged'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/tagged_logging.rb:68:in `tagged'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/rack/logger.rb:20:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/request_id.rb:21:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionpack-4.2.5/lib/action_dispatch/middleware/static.rb:116:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/engine.rb:518:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/railties-4.2.5/lib/rails/application.rb:165:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/server.rb:19:in `call'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
# ------------------
# --- Caused by: ---
# Capybara::ElementNotFound:
# Unable to find file field "file_set[files][]"
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/finders.rb:43:in `block in find'
27) searching as a public user using the gallery view
Failure/Error: within "#search-results" do
Capybara::ElementNotFound:
Unable to find css "#search-results"
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/finders.rb:43:in `block in find'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/base.rb:84:in `synchronize'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/node/finders.rb:32:in `find'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/session.rb:698:in `block (2 levels) in <class:Session>'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/session.rb:287:in `within'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/capybara-2.5.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
# ./spec/features/search_spec.rb:31:in `block (3 levels) in <top (required)>'
28) searching as a public user only searches all
Failure/Error: expect(page).to have_css("img.collection-icon-search")
expected to find css "img.collection-icon-search" but there were no matches
# ./spec/features/search_spec.rb:59:in `block (3 levels) in <top (required)>'
29) catalog/index.html.erb when user does not have permissions appears on page without error
Failure/Error: render
ActionView::Template::Error:
undefined local variable or method `all_type_tab' for #<#<Class:0x0000000b647908>:0x00000005373368>
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views/catalog/_navbar.html.erb:5:in `__home_mjg__rvm_gems_ruby_______sufia_bundler_gems_curation_concerns_ef_____a___a_app_views_catalog__navbar_html_erb__2524487539083020581_39698080'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:145:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:333:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:143:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:309:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:47:in `render_partial'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/rendering_helper.rb:35:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/test_case.rb:199:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views/catalog/index.html.erb:4:in `block in __home_mjg__rvm_gems_ruby_______sufia_bundler_gems_curation_concerns_ef_____a___a_app_views_catalog_index_html_erb__4178075337104753244_39986740'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/capture_helper.rb:38:in `capture'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/capture_helper.rb:169:in `provide'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views/catalog/index.html.erb:3:in `__home_mjg__rvm_gems_ruby_______sufia_bundler_gems_curation_concerns_ef_____a___a_app_views_catalog_index_html_erb__4178075337104753244_39986740'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:145:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:333:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:143:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:52:in `render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:14:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:42:in `render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:23:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/rendering_helper.rb:32:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/test_case.rb:199:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/test_case.rb:120:in `render'
# ./spec/views/catalog/index.html.erb_spec.rb:37:in `block (3 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# NameError:
# undefined local variable or method `all_type_tab' for #<#<Class:0x0000000b647908>:0x00000005373368>
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views/catalog/_navbar.html.erb:5:in `__home_mjg__rvm_gems_ruby_______sufia_bundler_gems_curation_concerns_ef_____a___a_app_views_catalog__navbar_html_erb__2524487539083020581_39698080'
30) catalog/index.html.erb when user has all the permissions appears on page without error
Failure/Error: render
ActionView::Template::Error:
undefined local variable or method `all_type_tab' for #<#<Class:0x0000000b647908>:0x00000013c0d8f8>
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views/catalog/_navbar.html.erb:5:in `__home_mjg__rvm_gems_ruby_______sufia_bundler_gems_curation_concerns_ef_____a___a_app_views_catalog__navbar_html_erb__2524487539083020581_39698080'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:145:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:333:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:143:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:309:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:47:in `render_partial'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/rendering_helper.rb:35:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/test_case.rb:199:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views/catalog/index.html.erb:4:in `block in __home_mjg__rvm_gems_ruby_______sufia_bundler_gems_curation_concerns_ef_____a___a_app_views_catalog_index_html_erb__4178075337104753244_39986740'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/capture_helper.rb:38:in `capture'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/capture_helper.rb:169:in `provide'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views/catalog/index.html.erb:3:in `__home_mjg__rvm_gems_ruby_______sufia_bundler_gems_curation_concerns_ef_____a___a_app_views_catalog_index_html_erb__4178075337104753244_39986740'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:145:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:333:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:143:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:52:in `render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:14:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:42:in `render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:23:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/rendering_helper.rb:32:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/test_case.rb:199:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/test_case.rb:120:in `render'
# ./spec/views/catalog/index.html.erb_spec.rb:46:in `block (3 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# NameError:
# undefined local variable or method `all_type_tab' for #<#<Class:0x0000000b647908>:0x00000013c0d8f8>
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views/catalog/_navbar.html.erb:5:in `__home_mjg__rvm_gems_ruby_______sufia_bundler_gems_curation_concerns_ef_____a___a_app_views_catalog__navbar_html_erb__2524487539083020581_39698080'
31) collections/_form.html.erb draws the metadata fields for collection
Failure/Error: render
ActionView::Template::Error:
Missing partial /_form_descriptive_fields, collections/_form_descriptive_fields with {:locale=>[:en], :formats=>[:html, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder, :haml]}. Searched in:
* "/home/mjg/workspace/sufia/.internal_test_app/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/devise-3.5.2/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/qa-0.5.0/app/views"
* "/home/mjg/workspace/sufia/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/mailboxer-0.13.0/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/blacklight_advanced_search-5.2.1/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/browse-everything-0.9.1/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-batch-edit-1.1.1/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-collections-6.0.0.rc2/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/blacklight-gallery-0.4.0/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-editor-1.1.0/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/blacklight-5.16.4/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/kaminari-7f7108e12bdd/app/views"
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/path_set.rb:46:in `find'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/lookup_context.rb:121:in `find'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:418:in `find_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:413:in `find_partial'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:294:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:47:in `render_partial'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/rendering_helper.rb:35:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/test_case.rb:199:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views/collections/_form.html.erb:10:in `block in __home_mjg__rvm_gems_ruby_______sufia_bundler_gems_curation_concerns_ef_____a___a_app_views_collections__form_html_erb__4030457252750143713_165642180'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/capture_helper.rb:38:in `capture'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/form_helper.rb:444:in `form_for'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/simple_form-3.1.1/lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/simple_form-3.1.1/lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/simple_form-3.1.1/lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views/collections/_form.html.erb:1:in `__home_mjg__rvm_gems_ruby_______sufia_bundler_gems_curation_concerns_ef_____a___a_app_views_collections__form_html_erb__4030457252750143713_165642180'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:145:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:333:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:143:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:52:in `render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:14:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:42:in `render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:23:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/rendering_helper.rb:32:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/test_case.rb:199:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/test_case.rb:120:in `render'
# ./spec/views/collections/_form.html.erb_spec.rb:15:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActionView::MissingTemplate:
# Missing partial /_form_descriptive_fields, collections/_form_descriptive_fields with {:locale=>[:en], :formats=>[:html, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder, :haml]}. Searched in:
# * "/home/mjg/workspace/sufia/.internal_test_app/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/devise-3.5.2/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/qa-0.5.0/app/views"
# * "/home/mjg/workspace/sufia/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/mailboxer-0.13.0/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/blacklight_advanced_search-5.2.1/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/browse-everything-0.9.1/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-batch-edit-1.1.1/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-collections-6.0.0.rc2/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/blacklight-gallery-0.4.0/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-editor-1.1.0/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/blacklight-5.16.4/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/kaminari-7f7108e12bdd/app/views"
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/path_set.rb:46:in `find'
32) collections/_form_for_select_collection.html.erb sorts the collections
Failure/Error: expect(collection_ids).to eql(["id_1237", "id_1234", "id_1235", "id_1236"])
expected: ["id_1237", "id_1234", "id_1235", "id_1236"]
got: ["id_1234", "id_1235", "id_1236", "id_1237"]
(compared using eql?)
# ./spec/views/collections/_form_for_select_collection.html.erb_spec.rb:31:in `block (2 levels) in <top (required)>'
33) collections/_form_for_select_collection.html.erb selects the right collection when instructed to do so
Failure/Error: expect(rendered).not_to have_selector "#id_#{collections[0].id}[checked='checked']"
expected not to find css "#id_1234[checked='checked']", found 1 match: ""
# ./spec/views/collections/_form_for_select_collection.html.erb_spec.rb:37:in `block (2 levels) in <top (required)>'
34) collections/_form_for_select_collection.html.erb selects the first collection when nothing else specified
Failure/Error: expect(rendered).not_to have_selector "#id_#{collections[0].id}[checked='checked']"
expected not to find css "#id_1234[checked='checked']", found 1 match: ""
# ./spec/views/collections/_form_for_select_collection.html.erb_spec.rb:46:in `block (2 levels) in <top (required)>'
35) collections/_show_descriptions.html.erb displaying a custom collection draws the metadata fields for collection
Failure/Error: render
ActionView::Template::Error:
Missing partial collections/show_fields/_title with {:locale=>[:en], :formats=>[:html, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder, :haml]}. Searched in:
* "/home/mjg/workspace/sufia/.internal_test_app/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/devise-3.5.2/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/qa-0.5.0/app/views"
* "/home/mjg/workspace/sufia/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/mailboxer-0.13.0/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/blacklight_advanced_search-5.2.1/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/browse-everything-0.9.1/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-batch-edit-1.1.1/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-collections-6.0.0.rc2/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/blacklight-gallery-0.4.0/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-editor-1.1.0/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/blacklight-5.16.4/app/views"
* "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/kaminari-7f7108e12bdd/app/views"
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/path_set.rb:46:in `find'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/lookup_context.rb:121:in `find'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:418:in `find_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:413:in `find_partial'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/partial_renderer.rb:294:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:47:in `render_partial'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:21:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/rendering_helper.rb:32:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/test_case.rb:199:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views/collections/_show_descriptions.html.erb:4:in `__home_mjg__rvm_gems_ruby_______sufia_bundler_gems_curation_concerns_ef_____a___a_app_views_collections__show_descriptions_html_erb___4191691638810175560_169899500'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:145:in `block in render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:333:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/template.rb:143:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `block in instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/activesupport-4.2.5/lib/active_support/notifications.rb:164:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:52:in `render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/template_renderer.rb:14:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:42:in `render_template'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/renderer/renderer.rb:23:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/helpers/rendering_helper.rb:32:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/test_case.rb:199:in `render'
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/test_case.rb:120:in `render'
# ./spec/views/collections/_show_descriptions.html.erb_spec.rb:20:in `block (3 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# ActionView::MissingTemplate:
# Missing partial collections/show_fields/_title with {:locale=>[:en], :formats=>[:html, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder, :haml]}. Searched in:
# * "/home/mjg/workspace/sufia/.internal_test_app/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/devise-3.5.2/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/curation_concerns-ef83205a267a/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/qa-0.5.0/app/views"
# * "/home/mjg/workspace/sufia/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/mailboxer-0.13.0/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/blacklight_advanced_search-5.2.1/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/browse-everything-0.9.1/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-batch-edit-1.1.1/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-collections-6.0.0.rc2/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/blacklight-gallery-0.4.0/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/hydra-editor-1.1.0/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/blacklight-5.16.4/app/views"
# * "/home/mjg/.rvm/gems/ruby-2.2.3@sufia/bundler/gems/kaminari-7f7108e12bdd/app/views"
# /home/mjg/.rvm/gems/ruby-2.2.3@sufia/gems/actionview-4.2.5/lib/action_view/path_set.rb:46:in `find'
36) curation_concerns/base/_form.html.erb when the work has two or more resource types only draws one resource_type multiselect
Failure/Error: expect(page).to have_selector("select#generic_work_resource_type", count: 1)
expected to find css "select#generic_work_resource_type" 1 time but there were no matches
# ./spec/views/curation_concerns/base/_form.html.erb_spec.rb:27:in `block (3 levels) in <top (required)>'
37) curation_concerns/base/_show_actions.html.erb citations when enabled appears on page
Failure/Error: expect(page).to have_selector('a#citations', count: 1)
expected to find css "a#citations" 1 time but there were no matches
# ./spec/views/curation_concerns/base/_show_actions.html.erb_spec.rb:35:in `block (4 levels) in <top (required)>'
Finished in 7 minutes 23 seconds (files took 4.81 seconds to load)
845 examples, 37 failures, 13 pending
Failed examples:
rspec ./spec/controllers/collections_controller_spec.rb:178 # CollectionsController#show when signed in returns the collection and its members
rspec ./spec/controllers/collections_controller_spec.rb:206 # CollectionsController#edit is successful
rspec ./spec/controllers/file_sets_controller_spec.rb:159 # CurationConcerns::FileSetsController#create with browse-everything when a work id is passed records the work
rspec ./spec/controllers/file_sets_controller_spec.rb:260 # CurationConcerns::FileSetsController#create with local_file when User model defines a directory path when a work id is passed records the work
rspec ./spec/controllers/file_sets_controller_spec.rb:322 # CurationConcerns::FileSetsController#edit sets the breadcrumbs and versions presenter
rspec ./spec/controllers/file_sets_controller_spec.rb:411 # CurationConcerns::FileSetsController update adds new groups and users
rspec ./spec/controllers/file_sets_controller_spec.rb:424 # CurationConcerns::FileSetsController update updates existing groups and users
rspec ./spec/controllers/file_sets_controller_spec.rb:489 # CurationConcerns::FileSetsController someone else's files #show shows me the file and set breadcrumbs
rspec ./spec/controllers/file_sets_controller_spec.rb:500 # CurationConcerns::FileSetsController someone else's files #show renders an endnote file
rspec ./spec/controllers/file_sets_controller_spec.rb:508 # CurationConcerns::FileSetsController flash doesn't let the user submit if they logout
rspec ./spec/controllers/file_sets_controller_spec.rb:535 # CurationConcerns::FileSetsController GET /new sets the form
rspec ./spec/controllers/upload_sets_controller_spec.rb:14 # UploadSetsController#update enquing a update job is successful
rspec ./spec/controllers/upload_sets_controller_spec.rb:35 # UploadSetsController#update when submiting works on behalf of another user redirects to my shares page
rspec ./spec/controllers/upload_sets_controller_spec.rb:45 # UploadSetsController#update when user has edit permissions on a file sets the groups
rspec ./spec/controllers/upload_sets_controller_spec.rb:95 # UploadSetsController#edit defaults creator
rspec ./spec/features/browse_catalog_spec.rb:32 # Browse catalog: when not logged in using facet pagination to browse by tags
rspec ./spec/features/cloud_upload_spec.rb:9 # Selecting files to import from cloud providers has a Cloud file picker using browse-everything
rspec ./spec/features/collection_spec.rb:109 # collection collection show page shows a collection with a listing of Descriptive Metadata and catalog-style search results
rspec ./spec/features/collection_spec.rb:198 # collection add works to collection preselects the collection we are adding works to
rspec ./spec/features/collection_spec.rb:226 # collection edit collection edits and update collection metadata
rspec ./spec/features/collection_spec.rb:269 # collection Removing a file from a collection is successful
rspec ./spec/features/collection_spec.rb:292 # collection Removing all files from a collection is successful
rspec ./spec/features/display_dashboard_spec.rb:16 # The Dashboard upon sign-in lets the user upload files
rspec ./spec/features/edit_file_spec.rb:16 # Editing a file: when the user tries to update file content, but forgets to select a file: shows the edit page again
rspec ./spec/features/ingest_upload_files_spec.rb:9 # Uploading files via web form has an ingest screen
rspec ./spec/features/ingest_upload_files_spec.rb:17 # Uploading files via web form the terms of service is required to be checked
rspec ./spec/features/search_spec.rb:26 # searching as a public user using the gallery view
rspec ./spec/features/search_spec.rb:42 # searching as a public user only searches all
rspec ./spec/views/catalog/index.html.erb_spec.rb:36 # catalog/index.html.erb when user does not have permissions appears on page without error
rspec ./spec/views/catalog/index.html.erb_spec.rb:45 # catalog/index.html.erb when user has all the permissions appears on page without error
rspec ./spec/views/collections/_form.html.erb_spec.rb:14 # collections/_form.html.erb draws the metadata fields for collection
rspec ./spec/views/collections/_form_for_select_collection.html.erb_spec.rb:28 # collections/_form_for_select_collection.html.erb sorts the collections
rspec ./spec/views/collections/_form_for_select_collection.html.erb_spec.rb:34 # collections/_form_for_select_collection.html.erb selects the right collection when instructed to do so
rspec ./spec/views/collections/_form_for_select_collection.html.erb_spec.rb:43 # collections/_form_for_select_collection.html.erb selects the first collection when nothing else specified
rspec ./spec/views/collections/_show_descriptions.html.erb_spec.rb:19 # collections/_show_descriptions.html.erb displaying a custom collection draws the metadata fields for collection
rspec ./spec/views/curation_concerns/base/_form.html.erb_spec.rb:26 # curation_concerns/base/_form.html.erb when the work has two or more resource types only draws one resource_type multiselect
rspec ./spec/views/curation_concerns/base/_show_actions.html.erb_spec.rb:34 # curation_concerns/base/_show_actions.html.erb citations when enabled appears on page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment