Skip to content

Commit

Permalink
Minor adjust to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
c4milo committed Feb 11, 2013
1 parent bce3c1b commit b2bfd32
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configuration/package.json
Expand Up @@ -12,7 +12,7 @@
"devDependencies": {
"should": "1.2.1",
"mocha": "1.8.1",
"bugswarm-prt": "0.3.4"
"bugswarm-prt": "0.3.5"
},
"dependencies": {
"superagent": "0.12.2"
Expand Down
4 changes: 4 additions & 0 deletions configuration/specs/swarm.spec.js
Expand Up @@ -2,6 +2,8 @@ var SwarmService = require('../lib/swarm');
var ResourceService = require('../lib/resource');
var ApiKeyService = require('../lib/apikey');

var should = require('should');

describe('Swarm service', function(){
var swarmId;
var resource;
Expand Down Expand Up @@ -66,6 +68,8 @@ describe('Swarm service', function(){
_swarm.public = true;

swarmService.update(_swarm, function(err, swarm) {
if (err) {throw err;}
should.exist(swarm);
swarm.should.be.a('object');
swarm.should.have.property('id');
swarm.id.should.be.eql(swarmId);
Expand Down
2 changes: 1 addition & 1 deletion participation/package.json
Expand Up @@ -21,7 +21,7 @@
"devDependencies": {
"should": "1.2.1",
"mocha": "1.8.1",
"bugswarm-cfg": "0.3.4"
"bugswarm-cfg": "0.3.5"
},
"dependencies": {
"superagent": "https://github.com/c4milo/superagent/tarball/v0.1.5"
Expand Down

0 comments on commit b2bfd32

Please sign in to comment.