Skip to content

Improve WorkersController test coverage#1158

Merged
monfresh merged 1 commit intomasterfrom
mb-more-tests
Mar 1, 2017
Merged

Improve WorkersController test coverage#1158
monfresh merged 1 commit intomasterfrom
mb-more-tests

Conversation

@monfresh
Copy link
Copy Markdown
Contributor

@monfresh monfresh commented Mar 1, 2017

Why: The worker_health_checker method was not hit due to the
stubbing.

How:

  • Remove the method since it's not really needed
  • stub WorkerHealthChecker directly

**Why**: The `worker_health_checker` method was not hit due to the
stubbing.

**How**:
- Remove the method since it's not really needed
- stub `WorkerHealthChecker` directly
Copy link
Copy Markdown
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM!

@monfresh monfresh merged commit 7c88129 into master Mar 1, 2017
@monfresh monfresh deleted the mb-more-tests branch March 1, 2017 23:19
amoose pushed a commit that referenced this pull request Mar 7, 2017
**Why**: The `worker_health_checker` method was not hit due to the
stubbing.

**How**:
- Remove the method since it's not really needed
- stub `WorkerHealthChecker` directly
amoose pushed a commit that referenced this pull request Mar 8, 2017
**Why**: The `worker_health_checker` method was not hit due to the
stubbing.

**How**:
- Remove the method since it's not really needed
- stub `WorkerHealthChecker` directly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants