From 0c55c13435a69d40143e4a2dd4b2f18af2401059 Mon Sep 17 00:00:00 2001 From: Ace Nassri Date: Mon, 8 Aug 2016 15:49:25 -0700 Subject: [PATCH] Change stubs to spies --- bigquery/system-test/list_datasets_and_projects.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bigquery/system-test/list_datasets_and_projects.test.js b/bigquery/system-test/list_datasets_and_projects.test.js index 384f48d645..a245a1f1e4 100644 --- a/bigquery/system-test/list_datasets_and_projects.test.js +++ b/bigquery/system-test/list_datasets_and_projects.test.js @@ -14,9 +14,9 @@ 'use strict'; var example = require('../list_datasets_and_projects'); -sinon.stub(example, 'printUsage'); -sinon.stub(example, 'listDatasets'); -sinon.stub(example, 'listProjects'); +sinon.spy(example, 'printUsage'); +sinon.spy(example, 'listDatasets'); +sinon.spy(example, 'listProjects'); describe('bigquery:list_datasets_and_projects', function () { describe('main', function () {