moved specs into spec