FEATURE: If you don't select any topics to "Dissmiss Read" it does all

by filter.
This commit is contained in:
Robin Ward
2014-02-21 14:17:45 -05:00
parent a07e9f7e71
commit 1aa27ade17
5 changed files with 32 additions and 5 deletions

View File

@ -791,7 +791,7 @@ describe TopicsController do
let(:operation) { {type: 'change_category', category_id: '1'} }
let(:topic_ids) { [1,2,3] }
it "requires a list of topic_ids" do
it "requires a list of topic_ids or filter" do
lambda { xhr :put, :bulk, operation: operation }.should raise_error(ActionController::ParameterMissing)
end