removed some repetition from spec/requests/static_pages_spec.rb