abstract away boilerplate in specs