dwyl / elixir-auth-github

:octocat: Minimalist GitHub OAuth Authentication for Elixir Apps. Tested, Documented & Maintained. Setup in 5 mins. 🚀
GNU General Public License v2.0
38 stars 4 forks source link

Create inject_poison/0 function to export TestDouble #44 #45

Closed nelsonic closed 4 years ago

nelsonic commented 4 years ago
codecov[bot] commented 4 years ago

Codecov Report

Merging #45 into master will not change coverage by %. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #45   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         2    +1     
  Lines           13        21    +8     
=========================================
+ Hits            13        21    +8     
Impacted Files Coverage Δ
lib/elixir_auth_github.ex 100.00% <100.00%> (ø)
lib/httpoison_mock.ex 100.00% <100.00%> (ø)

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 2e41a40...794560c. Read the comment docs.

nelsonic commented 4 years ago

@SimonLab hopefully this PR is clear. The main change of the PR is exporting the HTTPosionMock ("TestDouble") as described in #44 The rest of the changes are just tidying up. Please review/merge when you can. Thanks! 🌻