Skip to content

Instantly share code, notes, and snippets.

@lasseebert
Created October 17, 2016 20:02
Show Gist options
  • Select an option

  • Save lasseebert/a65278f97a561c6a302b7ad571881353 to your computer and use it in GitHub Desktop.

Select an option

Save lasseebert/a65278f97a561c6a302b7ad571881353 to your computer and use it in GitHub Desktop.
$ mix test test/contexts
1) test it creates a user (MyApp.Users.InviteTest)
test/contexts/users/invite_test.exs:6
** (UndefinedFunctionError) function MyApp.Users.Invite.call/1 is undefined (module MyApp.Users.Invite is not available)
stacktrace:
MyApp.Users.Invite.call(%{email: "alice@example.com"})
test/contexts/users/invite_test.exs:7: (test)
Finished in 0.04 seconds
1 test, 1 failure
Randomized with seed 973477
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment