-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add in lines 15 and 16 to MD Form 502 #4980
base: main
Are you sure you want to change the base?
Conversation
Heroku app: https://gyr-review-app-4980-16c76781e3ce.herokuapp.com/ |
@@ -361,12 +376,12 @@ def calculate_deduction_method | |||
s_mfs_d: { | |||
12000 => 1_800, | |||
17999 => ->(x) { x * 0.15 }, | |||
18000 => 2_700, | |||
Float::INFINITY => 2_700, |
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.
@jenny-heath helped sort out there was a bug here where its supposed to be "$18,000 or over" and so the band is changed in this line. Here is the original ticket for reference.
describe "#calculate_line_17" do | ||
context "when method is standard" do | ||
[ | ||
[["single", "married_filing_separately", "dependent"], [ | ||
[12_000, 1_800], | ||
[17_999, 17_999 * 0.15], | ||
[18_000, 2_700], | ||
[18_001, 2_700], |
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.
changed the tests to expose the above mentioned bug.
@@ -440,5 +439,21 @@ | |||
expect(pdf_fields["Enter 13"].to_i).to eq 0 | |||
end | |||
end | |||
|
|||
describe "Line 15" 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.
minor thing but there's a section above context "subtractions" do
that you could move these blocks into
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.
looks great!
…fying_dependent_care_expenses Co-authored-by: Anisha Ramnani <[email protected]>
Co-authored-by: Anisha Ramnani <[email protected]>
…sOrLimitAmt to nick.xml Co-authored-by: Anisha Ramnani <[email protected]>
Co-authored-by: Anisha Ramnani <[email protected]>
Link to pivotal/JIRA issue
https://codeforamerica.atlassian.net/browse/ABCD-123](https://codeforamerica.atlassian.net/browse/FYST-655
Is PM acceptance required? (delete one)
Reminder: merge main into this branch and get green tests before merging to main
What was done?
Lines 15 and 16 for MD Form 502 were added. Lines 9, 10a, and 11 were stubbed.
How to test?