Skip to content
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

Reset API to deliver one value for nationalSalary #266

Merged
merged 1 commit into from
Aug 8, 2016

Conversation

higs4281
Copy link
Member

@higs4281 higs4281 commented Aug 8, 2016

We were delivering nationalSalary based on program length or, if no
program info, by school prodominantDegree. This removes the test and
delivers the nationwide salary value for all cases.

Removals

  • script code that parsed program and school data to deliver salary by program length.

Testing

  • All calls to /national-stats/ should return a nationalSalary value of $34,300. Two tests:
  • formerly showed 42051: Yale
  • formerly showed 31080: Brown-Mackie North Canton

Review

We were delivering `nationalSalary` based on program length or, if no
program info, by school prodominantDegree. This removes the test and
delivers the nationwide salary value for all cases.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 0d4af7a on national-salary into 9f933ea on master.

@marteki
Copy link
Member

marteki commented Aug 8, 2016

Tested with four schools.

👍

@higs4281 higs4281 merged commit c4ecdb1 into master Aug 8, 2016
@higs4281 higs4281 deleted the national-salary branch August 8, 2016 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants