Skip to content

Commit

Permalink
adapt bigtable system test to projectId auto-detection (#1833)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus authored Dec 2, 2016
1 parent f396c9f commit 7ddc440
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/bigtable/system-test/bigtable.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,10 @@ describe('Bigtable', function() {

it('should get the tables metadata', function(done) {
TABLE.getMetadata(function(err, metadata) {
assert.strictEqual(metadata.name, TABLE.id);
assert.strictEqual(
metadata.name,
TABLE.id.replace('{{projectId}}', bigtable.projectId)
);
done();
});
});
Expand Down

0 comments on commit 7ddc440

Please sign in to comment.