fix page titles
This commit is contained in:
@ -95,7 +95,7 @@ defmodule MemexWeb.ContextLiveTest do
|
||||
test "displays context", %{conn: conn, context: context} do
|
||||
{:ok, _show_live, html} = live(conn, Routes.context_show_path(conn, :show, context))
|
||||
|
||||
assert html =~ "show context"
|
||||
assert html =~ "context"
|
||||
assert html =~ context.content
|
||||
end
|
||||
|
||||
|
@ -95,7 +95,7 @@ defmodule MemexWeb.NoteLiveTest do
|
||||
test "displays note", %{conn: conn, note: note} do
|
||||
{:ok, _show_live, html} = live(conn, Routes.note_show_path(conn, :show, note))
|
||||
|
||||
assert html =~ "show note"
|
||||
assert html =~ "note"
|
||||
assert html =~ note.content
|
||||
end
|
||||
|
||||
|
@ -98,7 +98,7 @@ defmodule MemexWeb.PipelineLiveTest do
|
||||
test "displays pipeline", %{conn: conn, pipeline: pipeline} do
|
||||
{:ok, _show_live, html} = live(conn, Routes.pipeline_show_path(conn, :show, pipeline))
|
||||
|
||||
assert html =~ "show pipeline"
|
||||
assert html =~ "pipeline"
|
||||
assert html =~ pipeline.description
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user