You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1) Tufts::WorkflowSetup grants the workflow approval role to all members of the hyrax admin group
Failure/Error:
expect(role_names).to contain_exactly(
"publishing"
)
expected collection contained: ["publishing"]
actual collection contained: ["managing", "publishing"]
the extra elements were: ["managing"]
# ./spec/lib/tufts/workflow_setup_spec.rb:31:in `block (2 levels) in <top (required)>'
The text was updated successfully, but these errors were encountered:
I fixed this by changing what the test is testing for. In order for our publication workflow to work, we need the "publishing" role to exist. Sometimes a "managing" role is also being created for some reason (this is the result of some confusion between application roles and workflow roles, I believe). We aren't using the "managing" role, so we don't really care whether it exists or not. I changed the test to more specifically only test whether the publishing role exists.
commit: 1bc5445
seed: ??? (shoot)
The text was updated successfully, but these errors were encountered: