Skip to content

Commit

Permalink
Update dependencies and fix inheritance test
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed Jan 1, 2014
1 parent 4788adf commit 9e82c20
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"test-generator": "mocha test/generators/*.js --reporter spec --timeout 100000"
},
"dependencies": {
"cheerio": "~0.12.0",
"cheerio": "~0.13.0",
"rimraf": "~2.2.0",
"diff": "~1.0.4",
"mime": "~1.2.9",
Expand All @@ -38,14 +38,14 @@
"isbinaryfile": "~2.0.0",
"dargs": "~0.1.0",
"async": "~0.2.8",
"inquirer": "~0.3.1",
"inquirer": "~0.4.0",
"iconv-lite": "~0.2.10",
"shelljs": "~0.2.6",
"findup-sync": "~0.1.2",
"chalk": "~0.3.0",
"chalk": "~0.4.0",
"text-table": "~0.2.0",
"download": "~0.1.6",
"request": "~2.29.0",
"request": "~2.30.0",
"file-utils": "~0.1.1",
"class-extend": "~0.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion test/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ describe('yeoman.generators.Base', function () {

describe('.extend', function () {
it('create a new object inheriting the Generator', function () {
assert.equal(Base.extend().prototype.constructor, Base);
assert.ok(new (Base.extend())([], { resolved: 'path/', env: this.env }) instanceof Base);
});

it('pass the extend method along', function () {
Expand Down

0 comments on commit 9e82c20

Please sign in to comment.