refactor rspec staticpages