-
-
Save shankardevy/3b83b77a6cf1b3fe05aba0e2baebddb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Mango.CatalogTest do | |
use ExUnit.Case | |
alias Mango.Catalog | |
test "list_products/0 returns all products" do | |
[p1, p2] = Catalog.list_products | |
assert p1 == "Tomato" | |
assert p2 == "Apple" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment