Skip to content

Commit

Permalink
rubocop corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
lorawoodford committed Feb 4, 2025
1 parent 4bfdd42 commit 570e9bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/spec/controller_caas_next_refid_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
before do
make_test_user('archivist')
end

it 'denies access' do
as_test_user('archivist') do
post '/plugins/caas_next_refid', params = { resource_id: 1 }

expect(last_response).not_to be_ok
expect(last_response.status).to eq(403)
expect(last_response.body).to match(/Access denied/)
Expand Down

0 comments on commit 570e9bc

Please sign in to comment.