Skip to content

Commit

Permalink
fix zone#createInstanceGroup test
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus committed May 17, 2016
1 parent 70c8284 commit 8ec4b35
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/compute/zone.js
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,15 @@ describe('Zone', function() {
zone.createInstanceGroup(NAME, OPTIONS, assert.ifError);
});

it('should not require options', function(done) {
zone.request = function(reqOpts) {
assert.deepEqual(reqOpts.json, { name: NAME });
done();
};

zone.createInstanceGroup(NAME, assert.ifError);
});

describe('error', function() {
var error = new Error('Error.');
var apiResponse = { a: 'b', c: 'd' };
Expand Down

0 comments on commit 8ec4b35

Please sign in to comment.