Improve index tables and improved consistency (#97)
* Simplifies index pages * Improved UX of more pages
This commit is contained in:
1 parent
70dd95211f
commit
c046abf36f
12 files changed
+48
-32
No files matched your search
@@ -91,7 +91,7 @@ defmodule PinchflatWeb.SourceControllerTest do
|
||||
|
||||
test "renders form for editing chosen source", %{conn: conn, source: source} do
|
||||
conn = get(conn, ~p"/sources/#{source}/edit")
|
||||
assert html_response(conn, 200) =~ "Edit Source"
|
||||
assert html_response(conn, 200) =~ "Editing \"#{source.custom_name}\""
|
||||
end
|
||||
end
|
||||
|
||||
@@ -114,7 +114,7 @@ defmodule PinchflatWeb.SourceControllerTest do
|
||||
invalid_attrs: invalid_attrs
|
||||
} do
|
||||
conn = put(conn, ~p"/sources/#{source}", source: invalid_attrs)
|
||||
assert html_response(conn, 200) =~ "Edit Source"
|
||||
assert html_response(conn, 200) =~ "Editing \"#{source.custom_name}\""
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user