summaryrefslogtreecommitdiff
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-06-03 16:34:03 -0400
commit29ae5bb77166d9d7f8108a965b0c3d147b747e80 (patch)
tree4761fc69f5a71cc0b5c467705acd9ada46a79aec /test/plugs/instance_static_test.exs
parentd6693a91028ab3ee7865f530f3ad2532542fc2d2 (diff)
downloadpleroma-29ae5bb77166d9d7f8108a965b0c3d147b747e80.tar.gz
pleroma-29ae5bb77166d9d7f8108a965b0c3d147b747e80.zip
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")