diff options
| author | Ben Busby <noreply+git@benbusby.com> | 2021-11-07 12:29:06 -0700 |
|---|---|---|
| committer | Ben Busby <noreply+git@benbusby.com> | 2021-11-07 12:29:06 -0700 |
| commit | 8042dcad0c61110111949a856c935325ca65f8ef (patch) | |
| tree | 2f3bfb751fd5910fc80383d45e41e85444e0fd4b /test/farside_test.exs | |
| parent | 06bb8403dd64ba51557c48324dbe88b58244e3e8 (diff) | |
| download | farside-8042dcad0c61110111949a856c935325ca65f8ef.tar.gz | |
Refactor project to new name
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.
Diffstat (limited to 'test/farside_test.exs')
| -rw-r--r-- | test/farside_test.exs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/farside_test.exs b/test/farside_test.exs new file mode 100644 index 0000000..0673fc4 --- /dev/null +++ b/test/farside_test.exs @@ -0,0 +1,18 @@ +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 |
