Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✅ Fix failing specs in specs/services #64

Closed
19 tasks
Tracked by #55
ShanaLMoore opened this issue Dec 14, 2023 · 0 comments
Closed
19 tasks
Tracked by #55

✅ Fix failing specs in specs/services #64

ShanaLMoore opened this issue Dec 14, 2023 · 0 comments

Comments

@ShanaLMoore
Copy link

ShanaLMoore commented Dec 14, 2023

Finished in 13.89 seconds (files took 18.7 seconds to load)
109 examples, 19 failures

Failed examples:

  • rspec ./spec/services/hyrax/workflow/permission_query_spec.rb:249 # Hyrax::Workflow::PermissionQuery.scope_processing_agents_for when user is persisted will equal [kind_of(Sipity::Agent)]
  • rspec ./spec/services/hyrax/workflow/permission_query_spec.rb:126 # Hyrax::Workflow::PermissionQuery permissions assigned at the workflow level will fullfil the battery of tests (of which they are nested because setup is expensive)
  • rspec ./spec/services/hyrax/workflow/permission_query_spec.rb:174 # Hyrax::Workflow::PermissionQuery permissions assigned at the entity level will fullfil the battery of tests (of which they are nested because setup is expensive)
  • rspec ./spec/services/roles_service_spec.rb:155 # RolesService#create_collection_accesses! when a Collection already has PermissionTemplateAccess records for all of the collection roles does not create any new PermissionTemplateAccess records
  • rspec ./spec/services/roles_service_spec.rb:160 # RolesService#create_collection_accesses! when a Collection already has PermissionTemplateAccess records for all of the collection roles does not reset the Collection's access controls unnecessarily
  • rspec ./spec/services/roles_service_spec.rb:198 # RolesService#create_collection_accesses! when a Collection does not have access records for the collection roles creates a PermissionTemplateAccess record with VIEW access for the :collection_editor role
  • rspec ./spec/services/roles_service_spec.rb:178 # RolesService#create_collection_accesses! when a Collection does not have access records for the collection roles creates a PermissionTemplateAccess record with MANAGE access for the :collection_manager role
  • rspec ./spec/services/roles_service_spec.rb:238 # RolesService#create_collection_accesses! when a Collection does not have access records for the collection roles resets the Collection's access controls
  • rspec ./spec/services/roles_service_spec.rb:172 # RolesService#create_collection_accesses! when a Collection does not have access records for the collection roles creates a PermissionTemplateAccess record for the three collection roles and one admin role
  • rspec ./spec/services/roles_service_spec.rb:218 # RolesService#create_collection_accesses! when a Collection does not have access records for the collection roles creates a PermissionTemplateAccess record with VIEW access for the :collection_reader role
  • rspec ./spec/services/roles_service_spec.rb:255 # RolesService#create_admin_set_accesses! when an AdminSet already has PermissionTemplateAccess records for all of the work roles does not reset the AdminSet's access controls unnecessarily
  • rspec ./spec/services/roles_service_spec.rb:293 # RolesService#create_admin_set_accesses! when an AdminSet does not have access records for the work roles creates a PermissionTemplateAccess record with DEPOSIT access for the :work_editor role
  • rspec ./spec/services/roles_service_spec.rb:313 # RolesService#create_admin_set_accesses! when an AdminSet does not have access records for the work roles creates a PermissionTemplateAccess record with DEPOSIT access for the :work_depositor role
  • rspec ./spec/services/roles_service_spec.rb:267 # RolesService#create_admin_set_accesses! when an AdminSet does not have access records for the work roles creates four new PermissionTemplateAccess records
  • rspec ./spec/services/roles_service_spec.rb:353 # RolesService#create_admin_set_accesses! when an AdminSet does not have access records for the work roles resets the AdminSet's access controls
  • rspec ./spec/services/roles_service_spec.rb:333 # RolesService#create_admin_set_accesses! when an AdminSet does not have access records for the work roles creates a PermissionTemplateAccess record with VIEW access for the :work_editor role
  • rspec ./spec/services/roles_service_spec.rb:273 # RolesService#create_admin_set_accesses! when an AdminSet does not have access records for the work roles creates a PermissionTemplateAccess record with MANAGE access for the admin group
  • rspec ./spec/services/create_account_spec.rb:14 # CreateAccount#create_tenant initializes the Site configuration with a link back to the Account
  • rspec ./spec/services/create_account_spec.rb:57 # CreateAccount#create_defaults seeds the account with default data
@ShanaLMoore ShanaLMoore mentioned this issue Dec 14, 2023
9 tasks
@ShanaLMoore ShanaLMoore changed the title Fix failing specs in specs/services ✅ Fix failing specs in specs/services Dec 14, 2023
@jeremyf jeremyf closed this as completed Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants