FEATURE: new 'ignore_by_title' site setting

This commit is contained in:
Régis Hanol
2016-05-18 23:07:01 +02:00
parent 69dc706ba1
commit c75d58ab21
5 changed files with 27 additions and 1 deletions

View File

@ -407,6 +407,11 @@ describe Email::Receiver do
expect { process(:tl4_user) }.to change(Topic, :count)
end
it "ignores by title" do
SiteSetting.ignore_by_title = "foo"
expect { process(:ignored) }.to_not change(Topic, :count)
end
end
end