Skip to content

Commit

Permalink
Merge pull request #4493 from clair13/4470-wording-correction-for-the…
Browse files Browse the repository at this point in the history
…-NDBN-report

Correct word for the NDBN report
  • Loading branch information
cielf committed Jul 3, 2024
2 parents f0dfb02 + 6d86976 commit 195d8e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -781,4 +781,4 @@ DEPENDENCIES
webmock (~> 3.23)

BUNDLED WITH
2.5.11
2.5.14
2 changes: 1 addition & 1 deletion app/services/reports/summary_report_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def report
entries: {
'% difference in yearly donations' => percent_donations,
'% difference in total money donated' => percent_money,
'% difference in diaper donations' => percent_diapers
'% difference in disposable diaper donations' => percent_diapers
} }
end

Expand Down
6 changes: 3 additions & 3 deletions spec/services/reports/summary_report_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
expect(report.report).to eq({
entries: { "% difference in yearly donations" => "0%",
"% difference in total money donated" => "0%",
"% difference in diaper donations" => "0%" },
"% difference in disposable diaper donations" => "0%" },
name: "Year End Summary"
})
end
Expand Down Expand Up @@ -47,7 +47,7 @@
expect(report.report).to eq({
entries: { "% difference in yearly donations" => "+200%",
"% difference in total money donated" => "+800%",
"% difference in diaper donations" => "+200%" },
"% difference in disposable diaper donations" => "+200%" },
name: "Year End Summary"
})
end
Expand Down Expand Up @@ -79,7 +79,7 @@
expect(report.report).to eq({
entries: { "% difference in yearly donations" => "-67%",
"% difference in total money donated" => "0%",
"% difference in diaper donations" => "-67%" },
"% difference in disposable diaper donations" => "-67%" },
name: "Year End Summary"
})
end
Expand Down

0 comments on commit 195d8e6

Please sign in to comment.