May 2018
Intermediate to advanced
470 pages
13h 54m
English
We will write a test to check whether the delete button on a post is only visible when the signed-in user is also the creator of the post. This means that the delete button will only be a part of the Post view, if the user._id of the authenticated user is the same as the postedby value of the post data being rendered.
Read now
Unlock full access