diff --git a/modules/claims_api/spec/controllers/v2/veterans/power_of_attorney/request_controller_spec.rb b/modules/claims_api/spec/controllers/v2/veterans/power_of_attorney/request_controller_spec.rb index 3051a28075e..27c8d6704af 100644 --- a/modules/claims_api/spec/controllers/v2/veterans/power_of_attorney/request_controller_spec.rb +++ b/modules/claims_api/spec/controllers/v2/veterans/power_of_attorney/request_controller_spec.rb @@ -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