mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
don't leak state into other tests
This commit is contained in:
parent
05e5a740a6
commit
b7386958ed
@ -504,6 +504,10 @@ HTML
|
|||||||
SiteSetting.enable_experimental_markdown_it = true
|
SiteSetting.enable_experimental_markdown_it = true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
after do
|
||||||
|
SiteSetting.enable_experimental_markdown_it = false
|
||||||
|
end
|
||||||
|
|
||||||
# it "replaces skin toned emoji" do
|
# it "replaces skin toned emoji" do
|
||||||
# expect(PrettyText.cook("hello 👱🏿♀️")).to eq("<p>hello <img src=\"/images/emoji/emoji_one/blonde_woman/6.png?v=5\" title=\":blonde_woman:t6:\" class=\"emoji\" alt=\":blonde_woman:t6:\"></p>")
|
# expect(PrettyText.cook("hello 👱🏿♀️")).to eq("<p>hello <img src=\"/images/emoji/emoji_one/blonde_woman/6.png?v=5\" title=\":blonde_woman:t6:\" class=\"emoji\" alt=\":blonde_woman:t6:\"></p>")
|
||||||
# expect(PrettyText.cook("hello 👩🎤")).to eq("<p>hello <img src=\"/images/emoji/emoji_one/woman_singer.png?v=5\" title=\":woman_singer:\" class=\"emoji\" alt=\":woman_singer:\"></p>")
|
# expect(PrettyText.cook("hello 👩🎤")).to eq("<p>hello <img src=\"/images/emoji/emoji_one/woman_singer.png?v=5\" title=\":woman_singer:\" class=\"emoji\" alt=\":woman_singer:\"></p>")
|
||||||
|
Loading…
Reference in New Issue
Block a user