Skip to content

Commit

Permalink
test: test for shuttle route LiveView
Browse files Browse the repository at this point in the history
  • Loading branch information
lemald committed Nov 4, 2024
1 parent 1e7e197 commit 74f0b5e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/arrow_web/live/shuttle_live/shuttle_live_test.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
defmodule ArrowWeb.ShuttleLiveTest do
use ArrowWeb.ConnCase

import Phoenix.LiveViewTest

describe "new shuttle" do
@tag :authenticated_admin
test "renders form", %{conn: conn} do
{:ok, _new_live, html} = live(conn, ~p"/shuttles/new")
assert html =~ "create new replacement service shuttle"
end
end
end

0 comments on commit 74f0b5e

Please sign in to comment.