Skip to content

Commit 8ec4b35

Browse files
fix zone#createInstanceGroup test
1 parent 70c8284 commit 8ec4b35

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/compute/zone.js

+9
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,15 @@ describe('Zone', function() {
664664
zone.createInstanceGroup(NAME, OPTIONS, assert.ifError);
665665
});
666666

667+
it('should not require options', function(done) {
668+
zone.request = function(reqOpts) {
669+
assert.deepEqual(reqOpts.json, { name: NAME });
670+
done();
671+
};
672+
673+
zone.createInstanceGroup(NAME, assert.ifError);
674+
});
675+
667676
describe('error', function() {
668677
var error = new Error('Error.');
669678
var apiResponse = { a: 'b', c: 'd' };

0 commit comments

Comments
 (0)