From 3957efe654f7b1dba350570f8a88db8346a2d73c Mon Sep 17 00:00:00 2001 From: FoxtrotPerry <31854658+FoxtrotPerry@users.noreply.github.com> Date: Sun, 20 May 2018 03:43:58 -0400 Subject: [PATCH] Fixed typo to allow for body decoding Line 23 typo caused the body to never be decoded. ("Poinson.decode!(body)" -> "Poison.decode!(body)") --- test/scaffold_helper.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/scaffold_helper.exs b/test/scaffold_helper.exs index 108adc4..1c47bb5 100644 --- a/test/scaffold_helper.exs +++ b/test/scaffold_helper.exs @@ -20,7 +20,7 @@ defmodule ScaffoldHelper do %{status_code: 401} -> {:auth_failure, "Failed to upload file. Authorization token is invalid"} %{status_code: status_code, body: body} -> - {:error, "Failed to create #{name} folder, POST returned #{status_code}: #{Poinson.decode!(body)}"} + {:error, "Failed to create #{name} folder, POST returned #{status_code}: #{Poison.decode!(body)}"} end end