Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus committed Apr 14, 2017
1 parent 45719d4 commit 773625b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/logging/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ describe('Logging', function() {

assert.strictEqual(config, CONFIG);

var expectedDestination = 'storage.googleapis.com./' + bucket.name;
var expectedDestination = 'storage.googleapis.com/' + bucket.name;
assert.strictEqual(config.destination, expectedDestination);

callback(); // done()
Expand Down Expand Up @@ -1237,7 +1237,7 @@ describe('Logging', function() {
it('should call createSink with string destination', function(done) {
logging.createSink = function(name, config, callback) {
var expectedDestination = [
'bigquery.googleapis.com.',
'bigquery.googleapis.com',
'projects',
dataset.parent.projectId,
'datasets',
Expand Down Expand Up @@ -1361,7 +1361,7 @@ describe('Logging', function() {

it('should call createSink with string destination', function(done) {
logging.createSink = function(name, config, callback) {
var expectedDestination = 'pubsub.googleapis.com./' + topic.name;
var expectedDestination = 'pubsub.googleapis.com/' + topic.name;
assert.strictEqual(name, SINK_NAME);
assert.strictEqual(config, CONFIG);
assert.strictEqual(config.destination, expectedDestination);
Expand Down

0 comments on commit 773625b

Please sign in to comment.