Extract LiveTestHelpers.escape/1
This commit is contained in:
@@ -20,12 +20,6 @@ defmodule MusicLibraryWeb.StatsLive.IndexTest do
|
||||
%{wishlist: records}
|
||||
end
|
||||
|
||||
defp escape(string) do
|
||||
string
|
||||
|> Phoenix.HTML.html_escape()
|
||||
|> Phoenix.HTML.safe_to_string()
|
||||
end
|
||||
|
||||
describe "Stats home page" do
|
||||
setup [:fill_collection, :fill_wishlist]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user