-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Break out PDF 526v2 test #18135
Break out PDF 526v2 test #18135
Conversation
Generated by 🚫 Danger |
end | ||
end | ||
|
||
def set_international_address(json, address_type) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't depend on instance state (maybe move it to another class?) - UtilityFunction
Timecop.return | ||
end | ||
|
||
def set_international_address(json, address_type) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't depend on instance state (maybe move it to another class?) - UtilityFunction
modules/claims_api/spec/requests/v2/veterans/disability_compensation_request_spec.rb
Outdated
Show resolved
Hide resolved
end | ||
end | ||
|
||
describe 'POST #generatePDF/minimum-validations', vcr: 'claims_api/disability_comp' do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@acovrig I don't see a replacement for the minimum validations spec, nor do I see a dup in the whole file, I am curious as why you think we don't need this test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It got renamed, sorry for the confusion
modules/claims_api/app/controllers/claims_api/v2/veterans/disability_compensation_controller.rb
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Understand the nesting now on generatePDF, see the duplicate test, and thanks for cleaning up that method in the controller that I totally messed up.
Everything still looks covered and is still green
Summary
Related issue(s)
Testing done
What areas of the site does it impact?
v2 526 request specs
Acceptance criteria