16 lines
288 B
Elixir
16 lines
288 B
Elixir
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
|
|
Finch.build(:get, "http://localhost:3000")
|
|
|> Finch.request(__MODULE__.Finch)
|
|
|> IO.inspect()
|
|
end
|
|
end
|
|
|