refactor static pages rspec