mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
FIX: use allowlist and blocklist terminology (#10209)
This is a PR of the renaming whitelist to allowlist and blacklist to the blocklist.
This commit is contained in:

committed by
GitHub

parent
5077cf52fd
commit
e0d9232259
@ -1600,7 +1600,7 @@ describe CookedPostProcessor do
|
||||
context "onebox" do
|
||||
before do
|
||||
Oneboxer.stubs(:onebox).with(anything, anything).returns(nil)
|
||||
Oneboxer.stubs(:onebox).with('https://discourse.org', anything).returns("<aside class=\"onebox whitelistedgeneric\">the rest of the onebox</aside>")
|
||||
Oneboxer.stubs(:onebox).with('https://discourse.org', anything).returns("<aside class=\"onebox allowlistedgeneric\">the rest of the onebox</aside>")
|
||||
end
|
||||
|
||||
it "awards the badge for using an onebox" do
|
||||
|
Reference in New Issue
Block a user