Skip to content

Instantly share code, notes, and snippets.


shankardevy/catalog_test.exs Secret

Created Jul 14, 2017
What would you like to do?
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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment