This commit is contained in:
Daniel Flanagan 2020-12-16 11:22:21 -06:00
parent 5898d34d45
commit 32dcb0d25f
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
3 changed files with 0 additions and 29 deletions

View file

@ -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

View file

@ -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

View file

@ -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