From 8042dcad0c61110111949a856c935325ca65f8ef Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Sun, 7 Nov 2021 12:29:06 -0700 Subject: 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. --- test/farside_test.exs | 18 ++++++++++++++++++ test/privacy_revolver_test.exs | 18 ------------------ 2 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 test/farside_test.exs delete mode 100644 test/privacy_revolver_test.exs (limited to 'test') 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 diff --git a/test/privacy_revolver_test.exs b/test/privacy_revolver_test.exs deleted file mode 100644 index 8c85530..0000000 --- a/test/privacy_revolver_test.exs +++ /dev/null @@ -1,18 +0,0 @@ -defmodule PrivacyRevolverTest do - use ExUnit.Case - use Plug.Test - - alias PrivacyRevolver.Router - - @opts Router.init([]) - - test "/" do - conn = - :get - |> conn("/", "") - |> Router.call(@opts) - - assert conn.state == :sent - assert conn.status == 200 - end -end -- cgit v1.2.3