Skip to content

Commit

Permalink
trivial success test
Browse files Browse the repository at this point in the history
  • Loading branch information
marick committed Apr 6, 2021
1 parent 9d68ba5 commit 521c99a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions test/hillel_budget_test.exs
@@ -1,8 +1,14 @@
defmodule HillelBudgetTest do
use ExUnit.Case
doctest HillelBudget

test "greets the world" do
assert HillelBudget.hello() == :world
def can_afford?(_budget, _bill) do
true
end

test "total budget always passes" do
budget = %{total_limit: 50}
bill = %{cost: 50}

assert can_afford?(budget, bill)
end
end

0 comments on commit 521c99a

Please sign in to comment.