I have a simple controller test for html response. Why does assert html_response(conn, 200) =~ "New User" produce this:
assert html_response(conn, 200) =~ "New User"
While it only should test for 200 OK response? (it is 200, and removing the =~ "New User" works though).
Aucun commentaire:
Enregistrer un commentaire