0
0
Fork 0

Fix list error messages (#33082)

This commit is contained in:
Eugen Rochko 2024-11-28 11:13:06 +01:00 committed by GitHub
parent fa3577e04b
commit 48f3ed738f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 8 deletions

View file

@ -95,7 +95,7 @@ RSpec.describe 'Accounts' do
it 'does not add the account to the list', :aggregate_failures do
subject
expect(response).to have_http_status(404)
expect(response).to have_http_status(422)
expect(response.content_type)
.to start_with('application/json')
expect(list.accounts).to_not include(bob)