Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
tycol7 committed Dec 17, 2024
1 parent 15a0006 commit df0c0fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,8 @@
create_request_with(veteran_id:, form_attributes:, auth_header:)

expect(response).to have_http_status(:created)
expect(JSON.parse(response.body)['data']['attributes']['id']).not_to be_nil
expect(JSON.parse(response.body)['data']['attributes']['type']).to eq('power-of-attorney-request')
expect(JSON.parse(response.body)['data']['id']).not_to be_nil
expect(JSON.parse(response.body)['data']['type']).to eq('power-of-attorney-request')
end
end
end
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"data": {
"id": null,
"type": "power-of-attorney-request",
"attributes": {
"veteran": {
"serviceNumber": "123678453",
Expand Down

0 comments on commit df0c0fb

Please sign in to comment.