From f60398f2a31fba075301575f444a213e80212eb3 Mon Sep 17 00:00:00 2001 From: Brian Balser Date: Mon, 14 Oct 2019 13:37:33 -0400 Subject: [PATCH] Addressing feedback on pull request --- lib/placebo.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/placebo.ex b/lib/placebo.ex index dbb3b3e..3a475f4 100644 --- a/lib/placebo.ex +++ b/lib/placebo.ex @@ -113,7 +113,7 @@ defmodule Placebo do setup(context) do async? = Map.get(context, :async, false) - if async? == false do + unless async? do Placebo.Server.clear() end @@ -134,7 +134,7 @@ defmodule Placebo do ) end) after - if async? == false do + unless async? do Placebo.Server.clear() end end