Skip to content

Commit

Permalink
mix format
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Jul 18, 2023
1 parent e864a85 commit 93df1b9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/app_web/live/app_live_test.exs
Expand Up @@ -848,10 +848,16 @@ defmodule AppWeb.AppLiveTest do
test "select tag when enter pressed", %{conn: conn} do
# Add default tag created by priv/repo/seeds.exs
{:ok, view, _html} = live(conn, "/")
assert render_keydown(view, "add-first-tag", %{"key" => "Enter"}) =~ "baking"

assert render_keydown(view, "add-first-tag", %{"key" => "Enter"}) =~
"baking"

{:ok, _tag1} =
Tag.create_tag(%{person_id: 0, text: "enter_tag_selected", color: "#FCA5A5"})
Tag.create_tag(%{
person_id: 0,
text: "enter_tag_selected",
color: "#FCA5A5"
})

assert render_submit(view, :create, %{text: "tag enter pressed"})
assert render(view) =~ "tag enter pressed"
Expand Down

0 comments on commit 93df1b9

Please sign in to comment.