add missing prismo testcase data

This commit is contained in:
William Pitcock 2018-11-10 11:06:29 +00:00
commit 1d9fcbf2ba
3 changed files with 71 additions and 49 deletions

View file

@ -3,6 +3,14 @@ defmodule HTTPoisonMock do
def get(url, body \\ [], headers \\ [])
def get("https://prismo.news/@mxb", _, _) do
{:ok,
%Response{
status_code: 200,
body: File.read!("test/fixtures/httpoison_mock/https___prismo.news__mxb.json")
}}
end
def get("https://osada.macgirvin.com/channel/mike", _, _) do
{:ok,
%Response{