Skip to content

Improve test coverage for OtpRequestsTracker#1516

Merged
monfresh merged 1 commit intomasterfrom
mb-improve-test-coverage
Jun 30, 2017
Merged

Improve test coverage for OtpRequestsTracker#1516
monfresh merged 1 commit intomasterfrom
mb-improve-test-coverage

Conversation

@monfresh
Copy link
Contributor

Why: The retry and raise portion of find_or_create_with_phone
was not tested.

Copy link
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 one comment, not a blocker

Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need the Timecop.freeze here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops. forgot to remove it.

@monfresh monfresh force-pushed the mb-improve-test-coverage branch from 38e69b7 to fd64256 Compare June 29, 2017 21:05
**Why**: The retry and raise portion of `find_or_create_with_phone`
was not tested.
@monfresh monfresh merged commit 505c96c into master Jun 30, 2017
@monfresh monfresh deleted the mb-improve-test-coverage branch June 30, 2017 00:26
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