diff --git a/test/beacon/types/site_test.exs b/test/beacon/types/site_test.exs index 216c5ad65..f30296ee3 100644 --- a/test/beacon/types/site_test.exs +++ b/test/beacon/types/site_test.exs @@ -1,5 +1,6 @@ defmodule Beacon.Types.SiteTest do use ExUnit.Case, async: true + alias Beacon.Types.Site import Beacon.Types.Site, only: [valid?: 1] @@ -23,7 +24,7 @@ defmodule Beacon.Types.SiteTest do assert Site.load("site") == {:ok, :site} assert Site.load(0) == :error end - + describe "valid_name?/1" do test "SUCCESS: Return TRUE if it is a valid name" do assert Site.valid_name?("some_name") @@ -32,4 +33,5 @@ defmodule Beacon.Types.SiteTest do test "SUCCESS: Return FALSE if it is an invalid name" do refute Site.valid_name?("beacon_some_name") end + end end