Ruby On Rails Lesson
Now that our views are in order, it’s time to get the follow/unfollow buttons working. The tests for these buttons combine many of the testing techniques covered throughout
Figure 11.16 Showing the users being followed by the current user
Figure 11.17 Showing the current user’s followers.