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

controller refactor and staging service refactor #139

Merged
29 commits merged into from
Aug 17, 2018

Conversation

ghost
Copy link

@ghost ghost commented Aug 17, 2018

No description provided.

rladdusaw and others added 27 commits August 15, 2018 16:54
By wrapping the contents of beforeEach() in a function, only a single beforeEach() needs to be defined per test file.
Always make a copy of the object from the repo array to avoid passing the original object.
Use 'found' as the variable name to make the syntax more consistent and easier to copy.
Some of the functions are omitted with the intent to be completed at a later date.
The mockUserService was updated to make thinks work for the controller tests and no effort was made to correctly implement it.
That work is reserved for when I get to refactoring, cleaning up, or otherwise improving the mocks.
…aryServiceStatusSystemUI into sprint6-staging-service-refactor
@ghost ghost requested review from rladdusaw and kaladay August 17, 2018 12:46
@coveralls
Copy link

coveralls commented Aug 17, 2018

Pull Request Test Coverage Report for Build 305

  • 35 of 115 (30.43%) changed or added relevant lines in 18 files are covered.
  • 4 unchanged lines in 4 files lost coverage.
  • Overall coverage increased (+11.9%) to 30.993%

Changes Missing Coverage Covered Lines Changed/Added Lines %
app/controllers/serviceDetailFeatureProposalManagementController.js 3 4 75.0%
app/controllers/featureProposalController.js 1 2 50.0%
app/controllers/ideaController.js 0 1 0.0%
app/controllers/serviceController.js 3 4 75.0%
app/controllers/notificationController.js 0 1 0.0%
app/controllers/noteController.js 0 1 0.0%
app/controllers/abstractIdeaController.js 0 2 0.0%
app/controllers/serviceDetailController.js 2 4 50.0%
app/directives/weaverTableDirective.js 0 5 0.0%
app/model/service.js 1 12 8.33%
Files with Coverage Reduction New Missed Lines %
app/directives/weaverTableDirective.js 1 1.22%
app/controllers/noteController.js 1 18.64%
app/model/service.js 1 2.78%
app/controllers/featureProposalController.js 1 32.05%
Totals Coverage Status
Change from base Build 266: 11.9%
Covered Lines: 409
Relevant Lines: 1159

💛 - Coveralls

Copy link
Contributor

@rladdusaw rladdusaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to move to QA

@ghost ghost merged commit 4654f9f into sprint6-staging Aug 17, 2018
@jcreel jcreel deleted the sprint6-staging-service-refactor branch August 27, 2018 16:41
This pull request was closed.
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.

None yet

4 participants