FEATURE: filter personal messages by tags

This commit is contained in:
Arpit Jalan
2018-02-27 22:21:40 +05:30
parent 4132c37add
commit c29660c8f1
11 changed files with 109 additions and 2 deletions

View File

@ -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