Skip to content

Instantly share code, notes, and snippets.

@thebrianemory
Created November 27, 2017 16:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thebrianemory/fa6eb27851170688d55e1c52279ef295 to your computer and use it in GitHub Desktop.
Save thebrianemory/fa6eb27851170688d55e1c52279ef295 to your computer and use it in GitHub Desktop.
Tilex.AuthControllerTest
* test GET /auth/google/callback with hashrocket email (16.0ms)
1) test GET /auth/google/callback with hashrocket email (Tilex.AuthControllerTest)
test/controllers/auth_controller_test.exs:6
Assertion with == failed
code: assert get_flash(conn, :info) == "Signed in with developer@hashrocket.com"
left: "developer@hashrocket.com is not a valid email address"
right: "Signed in with developer@hashrocket.com"
stacktrace:
test/controllers/auth_controller_test.exs:17: (test)
* test GET /auth/google/callback with other email domain (0.6ms)
* test GET /auth/google/callback with existing hashrocket email (2.5ms)
2) test GET /auth/google/callback with existing hashrocket email (Tilex.AuthControllerTest)
test/controllers/auth_controller_test.exs:25
Assertion with == failed
code: assert get_flash(conn, :info) == "Signed in with rebecca@hashrocket.com"
left: "rebecca@hashrocket.com is not a valid email address"
right: "Signed in with rebecca@hashrocket.com"
stacktrace:
test/controllers/auth_controller_test.exs:45: (test)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment