Change comma-delim site settings to pipe-delim

This commit is contained in:
riking
2014-03-29 16:50:44 -07:00
parent b328fd0031
commit 9c4dd1cb35
9 changed files with 41 additions and 10 deletions

View File

@ -45,7 +45,7 @@ describe PrettyText do
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.stubs(:exclude_rel_nofollow_domains).returns("foo.com|bar.com")
end
it "should inject nofollow in all user provided links" do