Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- describe CommentCreator do
- it 'should persist record' do
- assert_difference 'Comment.count', +1 do
- CommentCreator.new(comment_params).call
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement