Skip to content

Commit

Permalink
upddated specs
Browse files Browse the repository at this point in the history
  • Loading branch information
alinvetian committed Nov 26, 2024
1 parent d14aed7 commit 3c57571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/stash_engine/curation_activity_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ module StashEngine
context 'when user is an superuser' do
let(:user) { create(:user, role: 'superuser') }

CurationActivity::CURATOR_ALLOWED_STATES.keys.each do |status|
CurationActivity::CURATOR_ALLOWED_STATES.each_key do |status|
it "allows withdrawn for #{status} status" do
expect(CurationActivity.allowed_states(status, user)).to include('withdrawn')
end
Expand Down

0 comments on commit 3c57571

Please sign in to comment.