Refactor home_page_spec.rb