Skip to content

Commit 261b535

Browse files
Remove unused dep. Refactor more.
1 parent f4416dc commit 261b535

File tree

4 files changed

+6
-21
lines changed

4 files changed

+6
-21
lines changed

mix.exs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,15 @@ defmodule PointingParty.MixProject do
3232
# Type `mix help deps` for examples and options.
3333
defp deps do
3434
[
35+
{:ecto, "~> 3.1"},
36+
{:gettext, "~> 0.11"},
37+
{:jason, "~> 1.0"},
3538
{:phoenix, "~> 1.4.9"},
36-
{:phoenix_pubsub, "~> 1.1"},
3739
{:phoenix_ecto, "~> 4.0"},
38-
{:ecto, "~> 3.1"},
3940
{:phoenix_html, "~> 2.11"},
4041
{:phoenix_live_reload, "~> 1.2", only: :dev},
41-
{:gettext, "~> 0.11"},
42-
{:jason, "~> 1.0"},
43-
{:plug_cowboy, "~> 2.0"},
44-
{:ex_machina, "~> 2.3", only: :test}
42+
{:phoenix_pubsub, "~> 1.1"},
43+
{:plug_cowboy, "~> 2.0"}
4544
]
4645
end
4746
end

test/pointing_party_web/controllers/page_controller_test.exs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ defmodule PointingPartyWeb.PageControllerTest do
55

66
describe "authenticated user" do
77
setup %{conn: conn} do
8-
conn = conn
9-
|> Plug.Conn.assign(:username, @username)
8+
conn = Plug.Conn.assign(conn, :username, @username)
109
{:ok, %{conn: conn}}
1110
end
1211

test/support/factory.ex

Lines changed: 0 additions & 12 deletions
This file was deleted.

test/test_helper.exs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
{:ok, _} = Application.ensure_all_started(:ex_machina)
21
ExUnit.start()

0 commit comments

Comments
 (0)