         assert file =~ "summary(\"phoenix.router_dispatch.stop.duration\","
         assert file =~ "# Database Metrics"
         assert file =~ "summary(\"phx_umb.repo.query.total_time\","
+      end
+
+      # Live
+      assert_file web_path(@app, "assets/js/app.js"), fn file ->
+        assert file =~ ~s[import {LiveSocket} from "phoenix_live_view"]
+      end
+
+      assert_file root_path(@app, "config/config.exs"), fn file ->
+        assert file =~ "live_view:"
+        assert file =~ "signing_salt:"
+      end
+
+      assert_file web_path(@app, "lib/#{@app}_web.ex"), fn file ->
+        assert file =~ "import Phoenix.LiveView.Helpers"
+        assert file =~ "def live_view do"
+        assert file =~ "def live_component do"
+      end
+
+      assert_file web_path(@app, "lib/phx_umb_web/endpoint.ex"), ~s[socket "/live", Phoenix.LiveView.Socket]
+      assert_file web_path(@app, "lib/phx_umb_web/router.ex"), fn file ->
+        assert file =~ ~s[plug :fetch_live_flash]
+        assert file =~ ~s[plug :put_root_layout, {PhxUmbWeb.LayoutView, :root}]
+        assert file =~ ~s[get "/", PageController]
       end
 
       # Mailer

    end
  end

  test "new with no_html" do
    in_tmp "new with no_html", fn ->
      Mix.Tasks.Phx.New.run([@app, "--umbrella", "--no-html"])


    end
  end

  test "new with --no-dashboard" do
    in_tmp "new with no_dashboard", fn ->
      Mix.Tasks.Phx.New.run([@app, "--umbrella", "--no-dashboard"])

