diff options
Diffstat (limited to 'test/guard_web')
| -rw-r--r-- | test/guard_web/views/error_view_test.exs | 14 | ||||
| -rw-r--r-- | test/guard_web/views/layout_view_test.exs | 8 |
2 files changed, 0 insertions, 22 deletions
diff --git a/test/guard_web/views/error_view_test.exs b/test/guard_web/views/error_view_test.exs deleted file mode 100644 index 6ec5f1c..0000000 --- a/test/guard_web/views/error_view_test.exs +++ /dev/null @@ -1,14 +0,0 @@ -defmodule RookWeb.ErrorViewTest do - use RookWeb.ConnCase, async: true - - # Bring render/3 and render_to_string/3 for testing custom views - import Phoenix.View - - test "renders 404.html" do - assert render_to_string(RookWeb.ErrorView, "404.html", []) == "Not Found" - end - - test "renders 500.html" do - assert render_to_string(RookWeb.ErrorView, "500.html", []) == "Internal Server Error" - end -end diff --git a/test/guard_web/views/layout_view_test.exs b/test/guard_web/views/layout_view_test.exs deleted file mode 100644 index 48f119d..0000000 --- a/test/guard_web/views/layout_view_test.exs +++ /dev/null @@ -1,8 +0,0 @@ -defmodule RookWeb.LayoutViewTest do - use RookWeb.ConnCase, async: true - - # When testing helpers, you may want to import Phoenix.HTML and - # use functions such as safe_to_string() to convert the helper - # result into an HTML string. - # import Phoenix.HTML -end |
