Skip to content

Instantly share code, notes, and snippets.

@lasseebert
Created October 21, 2016 20:59
Show Gist options
  • Save lasseebert/24d360b50a178265a0868f360e7f3183 to your computer and use it in GitHub Desktop.
Save lasseebert/24d360b50a178265a0868f360e7f3183 to your computer and use it in GitHub Desktop.
$ mix test
.......
1) test it uses mock in tests (MyApp.MailerTest)
test/mailer_test.exs:4
** (exit) exited in: GenServer.call(MyApp.Mailer.Mock, {:update, #Function<0.6592501/1 in MyApp.Mailer.Mock.clear/0>}, 5000)
** (EXIT) no process
stacktrace:
(elixir) lib/gen_server.ex:596: GenServer.call/3
test/mailer_test.exs:5: (test)
Finished in 0.1 seconds
8 tests, 1 failure
Randomized with seed 356689
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment