@@ -38,7 +38,7 @@ describe('Bucket', function() {
3838
3939 it ( 'should list without a query' , function ( done ) {
4040 var bucket = createBucket ( ) ;
41- bucket . makeReq = function ( method , path , q , body ) {
41+ bucket . makeReq_ = function ( method , path , q , body ) {
4242 assert . strictEqual ( method , 'GET' ) ;
4343 assert . strictEqual ( path , 'o' ) ;
4444 assert . deepEqual ( q , { } ) ;
@@ -50,7 +50,7 @@ describe('Bucket', function() {
5050
5151 it ( 'should list with a query' , function ( done ) {
5252 var bucket = createBucket ( ) ;
53- bucket . makeReq = function ( method , path , q , body ) {
53+ bucket . makeReq_ = function ( method , path , q , body ) {
5454 assert . strictEqual ( method , 'GET' ) ;
5555 assert . strictEqual ( path , 'o' ) ;
5656 assert . deepEqual ( q , { maxResults : 5 , pageToken : 'token' } ) ;
@@ -62,7 +62,7 @@ describe('Bucket', function() {
6262
6363 it ( 'should return nextQuery if more results' , function ( ) {
6464 var bucket = createBucket ( ) ;
65- bucket . makeReq = function ( method , path , q , body , callback ) {
65+ bucket . makeReq_ = function ( method , path , q , body , callback ) {
6666 callback ( null , { nextPageToken : 'next-page-token' , items : [ ] } ) ;
6767 } ;
6868 bucket . list ( { maxResults : 5 } , function ( err , results , nextQuery ) {
@@ -73,7 +73,7 @@ describe('Bucket', function() {
7373
7474 it ( 'should return no nextQuery if no more results' , function ( ) {
7575 var bucket = createBucket ( ) ;
76- bucket . makeReq = function ( method , path , q , body , callback ) {
76+ bucket . makeReq_ = function ( method , path , q , body , callback ) {
7777 callback ( null , { items : [ ] } ) ;
7878 } ;
7979 bucket . list ( { maxResults : 5 } , function ( err , results , nextQuery ) {
@@ -83,7 +83,7 @@ describe('Bucket', function() {
8383
8484 it ( 'should stat a file' , function ( done ) {
8585 var bucket = createBucket ( ) ;
86- bucket . makeReq = function ( method , path , q , body ) {
86+ bucket . makeReq_ = function ( method , path , q , body ) {
8787 assert . strictEqual ( method , 'GET' ) ;
8888 assert . strictEqual ( path , 'o/file-name' ) ;
8989 assert . strictEqual ( q , null ) ;
@@ -95,7 +95,7 @@ describe('Bucket', function() {
9595
9696 it ( 'should copy a file' , function ( done ) {
9797 var bucket = createBucket ( ) ;
98- bucket . makeReq = function ( method , path , q , body ) {
98+ bucket . makeReq_ = function ( method , path , q , body ) {
9999 assert . strictEqual ( method , 'POST' ) ;
100100 assert . strictEqual ( path , 'o/file-name/copyTo/b/new-bucket/o/new-name' ) ;
101101 assert . strictEqual ( q , null ) ;
@@ -108,7 +108,7 @@ describe('Bucket', function() {
108108
109109 it ( 'should use the same bucket if nothing else is provided' , function ( done ) {
110110 var bucket = createBucket ( ) ;
111- bucket . makeReq = function ( method , path , q , body ) {
111+ bucket . makeReq_ = function ( method , path , q , body ) {
112112 assert . strictEqual ( method , 'POST' ) ;
113113 assert . strictEqual ( path , 'o/file-name/copyTo/b/bucket-name/o/new-name' ) ;
114114 assert . strictEqual ( q , null ) ;
@@ -121,7 +121,7 @@ describe('Bucket', function() {
121121
122122 it ( 'should remove a file' , function ( done ) {
123123 var bucket = createBucket ( ) ;
124- bucket . makeReq = function ( method , path , q , body ) {
124+ bucket . makeReq_ = function ( method , path , q , body ) {
125125 assert . strictEqual ( method , 'DELETE' ) ;
126126 assert . strictEqual ( path , 'o/file-name' ) ;
127127 assert . strictEqual ( q , null ) ;
0 commit comments