tj / should.js

BDD style assertions for node.js -- test framework agnostic
MIT License
2.75k stars 195 forks source link

greater equal always fails #217

Closed AngelKyriako closed 9 years ago

AngelKyriako commented 9 years ago

All related methods like those below fail for me:

should(1 >= 0).be.ok;
(1).should.be.GreaterEqual(0);

I am using sails 0.10.5 with mocha:

"devDependencies": {
    "barrels": "^1.3.0",
    "mocha": "^2.0.1",
    "sails-memory": "^0.10.3",
    "should": "^4.3.1",
    "supertest": "^0.15.0"
  }

Maybe I am missing the proper method, in that case sorry to bother u

btd commented 9 years ago

There is no method .GreaterEqual, there is .above. Also read first line of readme.