ElixirAuthGoogle.HTTPoisonMock (elixir_auth_google v1.6.9)

This is a TestDouble for HTTPoison which returns a predictable response. Please see: https://github.com/dwyl/elixir-auth-google/issues/35

Link to this section Summary

Functions

get/1 passing in the wrong_token is used to test failure in the auth process. Obviously, don't invoke it from your App unless you want people to see fails.

post/2 passing in dummy _url & _body to test return of access_token.

Link to this section Functions

get/1 passing in the wrong_token is used to test failure in the auth process. Obviously, don't invoke it from your App unless you want people to see fails.

Link to this function

post(url, body)

post/2 passing in dummy _url & _body to test return of access_token.