From 32dcb0d25fa969845a6eb9dd3b81778ff20a3b8b Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Wed, 16 Dec 2020 11:22:21 -0600 Subject: [PATCH] Cleanup --- src/lytedev.ex | 9 --------- test/lytedev/http_server.exs | 19 ------------------- test/lytedev/http_server_test.exs | 1 - 3 files changed, 29 deletions(-) delete mode 100644 src/lytedev.ex delete mode 100644 test/lytedev/http_server.exs diff --git a/src/lytedev.ex b/src/lytedev.ex deleted file mode 100644 index d5e4bc8..0000000 --- a/src/lytedev.ex +++ /dev/null @@ -1,9 +0,0 @@ -defmodule Lytedev do - @moduledoc """ - Lytedev keeps the contexts that define your domain - and business logic. - - Contexts are also responsible for managing your data, regardless - if it comes from the database, an external API or others. - """ -end diff --git a/test/lytedev/http_server.exs b/test/lytedev/http_server.exs deleted file mode 100644 index ef4f097..0000000 --- a/test/lytedev/http_server.exs +++ /dev/null @@ -1,19 +0,0 @@ -defmodule Test.Lytedev.HttpServer do - use ExUnit.Case - - setup do - Finch.start_link(name: __MODULE__.Finch) - - :ok - end - - test "index request greets the world" do - {:ok, response} = - Finch.build(:get, "http://localhost:3000") - |> Finch.request(__MODULE__.Finch) - - assert response.body =~ "Hello" - assert response.body =~ "World" - end -end - diff --git a/test/lytedev/http_server_test.exs b/test/lytedev/http_server_test.exs index 226e682..fef1a52 100644 --- a/test/lytedev/http_server_test.exs +++ b/test/lytedev/http_server_test.exs @@ -10,7 +10,6 @@ defmodule Test.Lytedev.HttpServer do test "index request greets the world" do Finch.build(:get, "http://localhost:3000") |> Finch.request(__MODULE__.Finch) - |> IO.inspect() end end