Skip to content

Instantly share code, notes, and snippets.

@shankardevy

shankardevy/homepage_test.exs Secret

Last active Aug 18, 2017
Embed
What would you like to do?
defmodule MangoWeb.HomepageTest do
use ExUnit.Case
use Hound.Helpers
hound_session()
test "presence of featured products" do
navigate_to("/")
assert page_source() =~ "Seasonal products"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment