     end
 
     test "no write permission" do
-      dir = "/tmp/serum_test_" <> uniq_name()
+      dir = uniq_dir()
       File.mkdir_p! dir
       :ok = File.chmod dir, 0o000
       result = init dir, false

    flunk "this test is not implemented"
  end

  @spec uniq_name() :: binary

  defp uniq_name, do: <<System.monotonic_time::size(48)>> |> Base.url_encode64

  @spec all_exists?(binary) :: boolean


    end

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