/**
 * Copyright 2014 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

'use strict';

var assert = require('assert');
var google = require('../lib/googleapis.js');

describe('google', function() {
  describe('.options()', function() {
    it('should be a function', function() {
      assert.equal(typeof google.options, 'function');
    });

    it('should not let transporter get set to null', function() {
      google.options({ transporter: null });
      assert.notEqual(google.transporter, null);
      assert.equal(typeof google.transporter, 'object');
    });
  });
});

@@ -714,16 +714,21 @@
 describe
+.only
 ('google
@@ -1113,16 +1113,611 @@
 %0A    %7D);
+%0A%0A    it('should expose _options', function() %7B%0A      google.options(%7B hello: 'world' %7D);%0A      assert.equal(JSON.stringify(google._options), JSON.stringify(%7B hello: 'world' %7D));%0A    %7D);%0A%0A    it('should remove transporter if passed in', function() %7B%0A      google.options(%7B hello: 'world', transporter: 'transporter' %7D);%0A      assert.equal(google._options.transporter, undefined);%0A      assert.equal(google._options.hello, 'world');%0A    %7D);%0A%0A    it('should expose _options values', function() %7B%0A      google.options(%7B hello: 'world' %7D);%0A      assert.equal(google._options.hello, 'world');%0A    %7D);
 %0A  %7D);%0A%7D

Add couple options tests