Created
March 6, 2015 15:01
-
-
Save batate/1d8a331e29a8e7a37605 to your computer and use it in GitHub Desktop.
ExUnit and Duplication
This file contains hidden or 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
setup do | |
# universal setup | |
end | |
test "a get" do | |
... | |
end | |
test "logged in get" do | |
login_user | |
... | |
end | |
test "logged in post" do | |
login_user | |
... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment