Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Downgrade should dependency

  • Loading branch information...
commit 00334ef3b052288903eb9dfbc10b719e692588ad 1 parent ef41a81
@wdavidw authored
Showing with 11 additions and 11 deletions.
  1. +1 −1  package.json
  2. +10 −10 test/schema_temporal.coffee
View
2  package.json
@@ -21,7 +21,7 @@
"each": "latest",
"mecano": "latest",
"mocha": "latest",
- "should": "latest"
+ "should": "0.6.0"
},
"contributors": [
{ "name": "David Worms", "email": "david@adaltas.com" }
View
20 test/schema_temporal.coffee
@@ -28,10 +28,10 @@ describe 'type', ->
should.not.exist err
# should v0.6.3 is broken with "instanceof Date"
# https://github.com/visionmedia/should.js/issues/65
- (record.cdate instanceof Date).should.be.true
- (record.mdate instanceof Date).should.be.true
- # record.cdate.should.be.an.instanceof Date
- # record.mdate.should.be.an.instanceof Date
+ # (record.cdate instanceof Date).should.be.true
+ # (record.mdate instanceof Date).should.be.true
+ record.cdate.should.be.an.instanceof Date
+ record.mdate.should.be.an.instanceof Date
next()
it 'should deal with update', (next) ->
@@ -48,10 +48,10 @@ describe 'type', ->
should.not.exist err
# should v0.6.3 is broken with "instanceof Date"
# https://github.com/visionmedia/should.js/issues/65
- (record.cdate is cdate).should.be.true
- (record.cdate instanceof Date).should.be.true
- (record.mdate instanceof Date).should.be.true
- # record.cdate.should.eql cdate
- # record.cdate.should.be.an.instanceof Date
- # record.mdate.should.be.an.instanceof Date
+ # (record.cdate is cdate).should.be.true
+ # (record.cdate instanceof Date).should.be.true
+ # (record.mdate instanceof Date).should.be.true
+ record.cdate.should.eql cdate
+ record.cdate.should.be.an.instanceof Date
+ record.mdate.should.be.an.instanceof Date
next()
Please sign in to comment.
Something went wrong with that request. Please try again.