update spec helpers for static pages