1 defmodule Pleroma.Web.Metadata.Providers.ThemeTest do
3 alias Pleroma.Web.Metadata.Providers.Theme
5 setup do: clear_config([Pleroma.Web.Metadata.Providers.Theme, :theme_color], "configured")
7 test "it renders the theme-color meta tag" do
8 result = Theme.build_tags(%{})
10 assert {:meta, [name: "theme-color", content: "configured"], []} in result