Remove duplication in spec
Extract date as variable