Skip to content

Commit

Permalink
take out my test helper.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus committed Oct 21, 2014
1 parent ba51328 commit ff9bbbc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
11 changes: 1 addition & 10 deletions test/bigquery/dataset.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,14 @@
'use strict';

var assert = require('assert');
var BigQuery = require('../../lib/bigquery');
var Dataset = require('../../lib/bigquery/dataset');
var Table = require('../../lib/bigquery/table');

describe('BigQuery', function() {
describe('BigQuery/Dataset', function() {
var DATASET_ID = 'kittens';
var ds;

beforeEach(function() {
ds = new BigQuery({
keyFilename: '/Users/stephen/dev/keyfile.json',
projectId: 'nth-circlet-705'
}).dataset(DATASET_ID);
});

beforeEach(function() {
return;
ds = new Dataset(DATASET_ID);
ds.makeReq_ = function(method, path, query, body, callback) {
callback();
Expand Down
8 changes: 0 additions & 8 deletions test/bigquery/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@ describe('BigQuery', function() {
var bq;

beforeEach(function() {
bq = new BigQuery({
keyFilename: '/Users/stephen/dev/keyfile.json',
projectId: 'nth-circlet-705'
});
});

beforeEach(function() {
return;
bq = new BigQuery({ projectId: PROJECT_ID });
bq.makeReq_ = function(method, path, query, body, callback) {
callback();
Expand Down

0 comments on commit ff9bbbc

Please sign in to comment.