mirror of
https://github.com/benbusby/farside.git
synced 2025-03-15 11:46:32 -04:00

The name of the project is being refactored from Privacy Revolver to Farside. The reasoning behind this is: 1. A shorter name is easier to remember 2. It can stand for "FOSS alternative redirecting service" (which I know doesn't encapsulate all letters from "farside", but it's close enough). This commit also includes improvements to the update script for determining how far along the script is.
19 lines
268 B
Elixir
19 lines
268 B
Elixir
defmodule FarsideTest do
|
|
use ExUnit.Case
|
|
use Plug.Test
|
|
|
|
alias Farside.Router
|
|
|
|
@opts Router.init([])
|
|
|
|
test "/" do
|
|
conn =
|
|
:get
|
|
|> conn("/", "")
|
|
|> Router.call(@opts)
|
|
|
|
assert conn.state == :sent
|
|
assert conn.status == 200
|
|
end
|
|
end
|