     end
 
     test "force init" do
-      dir = "/tmp/serum_test_" <> uniq_name()
+      dir = uniq_dir()
       File.mkdir_p! dir <> "/templates"
       File.touch! dir <> "/templates/base.html.eex"
       assert :ok == init dir, true

    end

    test "fail on non-empty dir" do
      dir = "/tmp/serum_test_" <> uniq_name()
      File.mkdir_p! dir
      :ok = File.touch dir <> "/heroes_of_the_storm"
      expected =

    flunk "this test is not implemented"
  end

  @spec uniq_dir() :: binary

  def uniq_dir do
    uniq = <<System.monotonic_time::size(48)>> |> Base.url_encode64
    "/tmp/serum_test_" <> uniq <> "/"
  end

  @spec all_exists?(binary) :: boolean

