Add subtype to topics to classify private messages
This commit is contained in:
parent
2b5a2b5fce
commit
3b6aeb14c7
16 changed files with 223 additions and 43 deletions
spec/models
|
@ -61,7 +61,7 @@ describe Report do
|
|||
end
|
||||
|
||||
describe 'private messages' do
|
||||
let(:report) { Report.find('private_messages') }
|
||||
let(:report) { Report.find('user_to_user_private_messages') }
|
||||
|
||||
it 'topic report should not include private messages' do
|
||||
Fabricate(:private_message_topic, created_at: 1.hour.ago)
|
||||
|
|
Reference in a new issue