Sha256: 3bb950489531e5de221bfc082c364158cb458f04f4123de116460895a63abb10
Contents?: true
Size: 461 Bytes
Versions: 4
Compression:
Stored size: 461 Bytes
Contents
describe "App.Services.Date", -> beforeEach -> date = new Date 2015, 10, 8, 14, 12, 30, 30 # Nov @service = new App.Services.Date date describe "#toString", -> it "supports default format", -> expect(@service.toString()).toEqual '2015-11-08' it "supports short format", -> expect(@service.toString 'short').toEqual 'Nov 08' it "supports long format", -> expect(@service.toString 'long').toEqual 'November 08, 2015'
Version data entries
4 entries across 4 versions & 1 rubygems