Skip to content

Commit

Permalink
mozillascience#26 tidy up the code and package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
aid29 committed Jul 2, 2015
1 parent e6f2d55 commit 3850cb6
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 88 deletions.
7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,7 @@
"jscs": "^1.13.1",
"js-beautify": "^1.5.5",
"jshint": "^2.7.0",
"mocha": "^2.2.5",
"request": "~2.57.0",
"habitat": "~3.1.2",
"jade": "~1.10.0",
"simple-oauth2": "https://github.com/ORCID/simple-oauth2/archive/MASTER_2015_06_03.tar.gz",
"express-session": "~1.11.2"
"mocha": "^2.2.5"
},
"engines": {
"node": "0.12.2"
Expand Down
30 changes: 0 additions & 30 deletions src/config.js

This file was deleted.

40 changes: 0 additions & 40 deletions test/api.js

This file was deleted.

12 changes: 0 additions & 12 deletions test/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,4 @@ describe('Intergration test against the real Badge server', function () {
})
.expect(200, done);
});

// it('Create a badge instance', function (done) {
// var newOrcid = '0000-0003-4959' + Math.floor(Math.random() * 1000) + '-test';
// request(app)
// .post('/papers/10.1371/journal.pbio.1002126/users/' + newOrcid + '/badges/investigation')
// .expect(function (res) {
// assert.ok(res.body[0].slug, 'not find one badge slug in json');
// assert.equal(res.body[0].badge.name, 'Investigation');
// assert.equal(res.body[0].orcid, newOrcid);
// })
// .expect(200, done);
// });
});

0 comments on commit 3850cb6

Please sign in to comment.