Rspec test method cleanup of static_pages_spec