Compare commits
1 Commits
571f6fffdb
...
1c33cd09c1
Author | SHA1 | Date | |
---|---|---|---|
1c33cd09c1 |
@ -114,13 +114,9 @@ defmodule MemexWeb.ContextLiveTest do
|
|||||||
|
|
||||||
assert_patch(show_live, Routes.context_show_path(conn, :edit, context.slug))
|
assert_patch(show_live, Routes.context_show_path(conn, :edit, context.slug))
|
||||||
|
|
||||||
html =
|
assert show_live
|
||||||
show_live
|
|
||||||
|> form("#context-form", context: @invalid_attrs)
|
|> form("#context-form", context: @invalid_attrs)
|
||||||
|> render_change()
|
|> render_change() =~ "can't be blank"
|
||||||
|
|
||||||
assert html =~ "can't be blank"
|
|
||||||
assert html =~ "tags must be comma-delimited"
|
|
||||||
|
|
||||||
{:ok, _, html} =
|
{:ok, _, html} =
|
||||||
show_live
|
show_live
|
||||||
|
@ -54,13 +54,9 @@ defmodule MemexWeb.NoteLiveTest do
|
|||||||
|
|
||||||
assert_patch(index_live, Routes.note_index_path(conn, :new))
|
assert_patch(index_live, Routes.note_index_path(conn, :new))
|
||||||
|
|
||||||
html =
|
assert index_live
|
||||||
index_live
|
|
||||||
|> form("#note-form", note: @invalid_attrs)
|
|> form("#note-form", note: @invalid_attrs)
|
||||||
|> render_change()
|
|> render_change() =~ "can't be blank"
|
||||||
|
|
||||||
assert html =~ "can't be blank"
|
|
||||||
assert html =~ "tags must be comma-delimited"
|
|
||||||
|
|
||||||
{:ok, _, html} =
|
{:ok, _, html} =
|
||||||
index_live
|
index_live
|
||||||
|
@ -128,13 +128,9 @@ defmodule MemexWeb.PipelineLiveTest do
|
|||||||
|
|
||||||
assert_patch(show_live, Routes.pipeline_show_path(conn, :edit, pipeline.slug))
|
assert_patch(show_live, Routes.pipeline_show_path(conn, :edit, pipeline.slug))
|
||||||
|
|
||||||
html =
|
assert show_live
|
||||||
show_live
|
|
||||||
|> form("#pipeline-form", pipeline: @invalid_attrs)
|
|> form("#pipeline-form", pipeline: @invalid_attrs)
|
||||||
|> render_change()
|
|> render_change() =~ "can't be blank"
|
||||||
|
|
||||||
assert html =~ "can't be blank"
|
|
||||||
assert html =~ "tags must be comma-delimited"
|
|
||||||
|
|
||||||
{:ok, _, html} =
|
{:ok, _, html} =
|
||||||
show_live
|
show_live
|
||||||
|
Loading…
Reference in New Issue
Block a user