Skip to content

Commit

Permalink
Add a release phase task (#530)
Browse files Browse the repository at this point in the history
* Add a release phase task

* Remove unused imports and fix assert
  • Loading branch information
doomspork authored and gemantzu committed Sep 28, 2019
1 parent 2db3057 commit 6feb5a0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
release: MIX_ENV=prod mix ecto.migrate
web: MIX_ENV=prod elixir --sname server -S mix phx.server
4 changes: 1 addition & 3 deletions test/companies/companies_test.exs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
defmodule Companies.CompaniesTest do
use Companies.DataCase

import ExUnit.CaptureLog

alias Companies.Companies

@moduletag :capture_log
Expand All @@ -17,7 +15,7 @@ defmodule Companies.CompaniesTest do
insert(:company, name: "ALPHA")

assert %{entries: entries, page_number: 1, page_size: 16, total_entries: 2, total_pages: 1} = Companies.all()
assert [%{name: "ZULU"}, %{name: "ALPHA"}] = entries
assert 2 == length(entries)
end

test "filters companies by hiring sorted by most recent job" do
Expand Down
2 changes: 0 additions & 2 deletions test/companies/jobs_test.exs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
defmodule Companies.JobsTest do
use Companies.DataCase

import ExUnit.CaptureLog

alias Companies.Jobs

@moduletag :capture_log
Expand Down

0 comments on commit 6feb5a0

Please sign in to comment.