Fix list error messages (#33082)
This commit is contained in:
parent
fa3577e04b
commit
48f3ed738f
3 changed files with 12 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue