Visiting the post_path (show action) for each unpublished post is unrealistic. They should show up on the posts_path (index). This will require refactoring the test and the views and controllers, but shouldn't be too difficult.