mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
FEATURE: filter personal messages by tags
This commit is contained in:
@ -105,6 +105,8 @@ RSpec.describe ListController do
|
||||
sign_in(user)
|
||||
get "/topics/private-messages-tag/#{user.username}/#{tag.name}.json"
|
||||
expect(response).to be_success
|
||||
data = JSON.parse(response.body)
|
||||
expect(data["topic_list"]["pm_tags"].length).to eq(1)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user