Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
KatyTaylor committed Jul 26, 2024
1 parent 33dfc92 commit 85f9a04
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/requests/api/v2/tube_purposes_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@
}
end

it 'returns 400, because uuid is read-only' do
it 'responds with 400 bad request, because uuid is read-only' do
api_patch "#{base_endpoint}/#{resource_model.id}", payload
expect(response).to have_http_status(400)
expect(response).to have_http_status(:bad_request)
end
end
end
Expand Down Expand Up @@ -191,9 +191,9 @@
}
end

it 'returns 400, because uuid is read-only' do
it 'responds with 400 bad request, because uuid is read-only' do
api_post base_endpoint, payload
expect(response).to have_http_status(400)
expect(response).to have_http_status(:bad_request)
end
end
end
Expand Down

0 comments on commit 85f9a04

Please sign in to comment.