mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FEATURE: If you don't select any topics to "Dissmiss Read" it does all
by filter.
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user