Created
October 17, 2016 19:54
-
-
Save lasseebert/77bff08add8e8980ab121aee8f6efb4a to your computer and use it in GitHub Desktop.
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
| body = conn |> response(201) |> Poison.decode! | |
| assert body["id"] |> is_integer | |
| assert body["id"] > 0 | |
| assert body["email"] == "alice@example.com" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment