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

Missing unit test #137

Merged
merged 11 commits into from
May 18, 2017
Merged

Missing unit test #137

merged 11 commits into from
May 18, 2017

Conversation

AdrianRaFo
Copy link
Contributor

Fixes #131

  • auth: Missing unit test
  • gist: Missing unit test
  • user: Missing unit test

@codecov-io
Copy link

codecov-io commented May 17, 2017

Codecov Report

Merging #137 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #137   +/-   ##
=====================================
  Coverage      88%    88%           
=====================================
  Files          36     36           
  Lines         550    550           
  Branches        2      2           
=====================================
  Hits          484    484           
  Misses         66     66

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 02be2ca...d9e9654. Read the comment docs.

Copy link
Member

@juanpedromoreno juanpedromoreno left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@BenFradet BenFradet left a comment

Choose a reason for hiding this comment

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

LGTM 👍 I have a couple of Qs though

|}""".stripMargin

val httpClientMock = httpClientMockPostOAuth[OAuthToken](
url = "http://127.0.0.1:9999/login/oauth/access_token",
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm curious as to why you had to specify the whole url?

|}""".stripMargin

val httpClientMock = httpClientMockPost[Gist](
url = s"gists",
Copy link
Contributor

Choose a reason for hiding this comment

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

string interpolation isn't necessary

validNote,
Some("master"))
}

Copy link
Contributor

Choose a reason for hiding this comment

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

was this a duplicate?

Copy link
Contributor Author

@AdrianRaFo AdrianRaFo May 18, 2017

Choose a reason for hiding this comment

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

@juanpedromoreno juanpedromoreno merged commit fa439da into master May 18, 2017
@juanpedromoreno juanpedromoreno deleted the arf-131-Missing-unit-test branch May 18, 2017 21:15
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.

4 participants