aboutsummaryrefslogtreecommitdiff
path: root/test/plugs/instance_static_test.exs
diff options
context:
space:
mode:
authorstwf <steven.fuchs@dockyard.com>2020-05-12 11:08:00 -0400
committerstwf <steven.fuchs@dockyard.com>2020-05-29 14:15:24 -0400
commitd67b302810c53d92ace7c347c77eecc10be6bcd6 (patch)
treed278d3be9def4c5c9492ad20c000188aef2fa3df /test/plugs/instance_static_test.exs
parent219d2b3146ee72abc0bb8bd163c0ddcd986988fc (diff)
downloadpleroma-d67b302810c53d92ace7c347c77eecc10be6bcd6.tar.gz
preload data into index.html
Diffstat (limited to 'test/plugs/instance_static_test.exs')
-rw-r--r--test/plugs/instance_static_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/plugs/instance_static_test.exs b/test/plugs/instance_static_test.exs
index b8f070d6a..be2613ad0 100644
--- a/test/plugs/instance_static_test.exs
+++ b/test/plugs/instance_static_test.exs
@@ -16,7 +16,7 @@ defmodule Pleroma.Web.RuntimeStaticPlugTest do
test "overrides index" do
bundled_index = get(build_conn(), "/")
- assert html_response(bundled_index, 200) == File.read!("priv/static/index.html")
+ refute html_response(bundled_index, 200) == "hello world"
File.write!(@dir <> "/index.html", "hello world")