-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API-22649-new-526-endpoints (#11938)
- Loading branch information
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
...s/claims_api/app/controllers/claims_api/v2/veterans/disability_compensation_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# frozen_string_literal: true | ||
|
||
module ClaimsApi | ||
module V2 | ||
module Veterans | ||
class DisabilityCompensationController < ClaimsApi::V2::ApplicationController | ||
def submit; end | ||
|
||
def validate; end | ||
|
||
def attachments; end | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
modules/claims_api/spec/requests/v2/veterans/disability_compensation_request_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'rails_helper' | ||
|
||
RSpec.describe 'Disability Claims', type: :request do | ||
let(:headers) do | ||
{ 'X-VA-SSN': '796-04-3735', | ||
'X-VA-First-Name': 'WESLEY', | ||
'X-VA-Last-Name': 'FORD', | ||
'X-Consumer-Username': 'TestConsumer', | ||
'X-VA-Birth-Date': '1986-05-06T00:00:00+00:00', | ||
'X-VA-Gender': 'M' } | ||
end | ||
let(:scopes) { %w[claim.write] } | ||
|
||
before do | ||
stub_poa_verification | ||
stub_mpi | ||
Timecop.freeze(Time.zone.now) | ||
end | ||
|
||
after do | ||
Timecop.return | ||
end | ||
|
||
describe '#526' do | ||
context 'submit' do | ||
end | ||
|
||
context 'validate' do | ||
end | ||
|
||
context 'attachments' do | ||
end | ||
end | ||
end |