diff options
author | stwf <steven.fuchs@dockyard.com> | 2020-05-12 11:08:00 -0400 |
---|---|---|
committer | stwf <steven.fuchs@dockyard.com> | 2020-05-29 14:15:24 -0400 |
commit | d67b302810c53d92ace7c347c77eecc10be6bcd6 (patch) | |
tree | d278d3be9def4c5c9492ad20c000188aef2fa3df /test/plugs/instance_static_test.exs | |
parent | 219d2b3146ee72abc0bb8bd163c0ddcd986988fc (diff) | |
download | pleroma-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.exs | 2 |
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") |