dryed up coffeescript specs