Rewrite user_pages_spec.rb for chapter 8 exercise 2