updates permissions for direct messages

This commit is contained in:
rgarcia
2016-06-09 17:35:19 +02:00
parent 900d997000
commit fea3aef5bb
4 changed files with 26 additions and 1 deletions

View File

@@ -331,4 +331,11 @@ FactoryGirl.define do
body "Please let others know so we can make it happen"
proposal
end
factory :direct_message do
title "Hey!"
body "How are You doing?"
association :sender, factory: :user
association :receiver, factory: :user
end
end