Refactor static_pages_spec.rb with before(:each) for the 'Home page' test.