-
Create
- should create a comment with a valid user
- should not create a comment for an invalid user
- should not create a comment for an invalid post in a group
- should not update group's last activity
-
Update
- should update a comment with a valid user
- should not update a comment with a invalid user
- should not update another user's comment
-
Destroy
- should destroy valid comment
- should not destroy valid comment without user
- should not destroy another user's comment
- Create
- should reject unauthenticated users
- should create a group
- should create a private group
- should not create a group if a user with that name already exists
- should not create a group with slash in its name
- should not create a group with an empty username
- should add the creating user as the administrator
- should subscribe the creating user (53ms)
- Admin
- should reject unauthenticated users
- should reject nonexisting group
- should allow an administrator to add another administrator
- Update
- should update group settings
- Unadmin
- should allow an administrator to remove another administrator
- Update Profile Picture
- should update the profile picture
user Luna, Mars, and Zeus are mutual friends
- should not publish liked private post to home feed of mutual friends
- should not publish liked private post to likes feed
- should not publish commented private post to home feed of mutual friends
- should not publish commented private post to likes feed
- should not comment on direct message unless you are recipient
- should not like direct message unless you are recipient