dwyl / phoenix-chat-example

πŸ’¬ The Step-by-Step Beginners Tutorial for Building, Testing & Deploying a Chat app in Phoenix 1.7 [Latest] πŸš€
https://phoenix-chat.fly.dev
766 stars 93 forks source link

Updated the default text that comes with it #231

Closed hrithikwins closed 6 months ago

hrithikwins commented 6 months ago

The default text that comes with the test is not changed to this

some new users (like me) would find it easy to follow along

This is my page_controller_test.exs

defmodule ChatWeb.PageControllerTest do
  use ChatWeb.ConnCase

  test "GET /", %{conn: conn} do
    conn = get(conn, ~p"/")
    assert html_response(conn, 200) =~ "Peace of mind from prototype to production"
  end
end
hrithikwins commented 6 months ago

I checked other apps also which were generated and created newly by me for learning and they all had the same text

hrithikwins commented 6 months ago

Also in the line above this it also shows "Peace of mind from prototype to production" in the error (the text error log)

nelsonic commented 6 months ago

Failing tests don’t make any sense. πŸ€·β€β™‚οΈ Merging πŸš€