mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 02:21:18 +08:00
Nuke all SiteSetting.stubs
from our codebase.
This commit is contained in:
@ -94,8 +94,8 @@ HTML
|
||||
|
||||
describe "rel nofollow" do
|
||||
before do
|
||||
SiteSetting.stubs(:add_rel_nofollow_to_user_content).returns(true)
|
||||
SiteSetting.stubs(:exclude_rel_nofollow_domains).returns("foo.com|bar.com")
|
||||
SiteSetting.add_rel_nofollow_to_user_content = true
|
||||
SiteSetting.exclude_rel_nofollow_domains = "foo.com|bar.com"
|
||||
end
|
||||
|
||||
it "should inject nofollow in all user provided links" do
|
||||
|
Reference in New Issue
Block a user