Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jotaviobiondo committed Sep 28, 2024
1 parent 2c46edf commit 3d8f0da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions test/game_of_life_cli/cli_test.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
defmodule GameOfLifeCLI.CLITest do
use ExUnit.Case
alias Credo.Check.Design.TagTODO
alias GameOfLifeCLI.CLI

describe "parse_args/1" do
Expand All @@ -22,6 +21,6 @@ defmodule GameOfLifeCLI.CLITest do
assert %{generations: 50, grid_size: 10} == options
end

# test when wrong parameters are given
# TODO: test when wrong parameters are given
end
end
2 changes: 1 addition & 1 deletion test/game_of_life_web/controllers/page_controller_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule GameOfLifeWeb.PageControllerTest do
use GameOfLifeWeb.ConnCase

test "GET /", %{conn: conn} do
conn = get(conn, ~p"/")
conn = get(conn, ~p"/other")
assert html_response(conn, 200) =~ "Peace of mind from prototype to production"
end
end

0 comments on commit 3d8f0da

Please sign in to comment.