ElixirAuthGoogle.HTTPoisonMock (elixir_auth_google v1.6.10)

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

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.

Functions

get(arg1)

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(url, body)

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