@@ -149,16 +149,13 @@ describe('storage', function() {
149
149
} ) ;
150
150
} ) ;
151
151
152
- it ( 'should make a bucket publicly readable ' , function ( done ) {
152
+ it ( 'should make a bucket public and private ' , function ( done ) {
153
153
bucket . acl . makePublic ( function ( err , accessControl ) {
154
154
assert . equal ( accessControl . role , storage . acl . READER_ROLE ) ;
155
155
assert . equal ( accessControl . scope , 'allUsers' ) ;
156
- done ( ) ;
157
- } ) ;
158
- } ) ;
159
156
160
- it ( 'should make a bucket private' , function ( done ) {
161
- bucket . acl . makePrivate ( done ) ;
157
+ bucket . acl . makePrivate ( done ) ;
158
+ } ) ;
162
159
} ) ;
163
160
164
161
it ( 'should update an account' , function ( done ) {
@@ -247,16 +244,13 @@ describe('storage', function() {
247
244
} ) ;
248
245
} ) ;
249
246
250
- it ( 'should make a file publicly readable ' , function ( done ) {
247
+ it ( 'should make a file public and private ' , function ( done ) {
251
248
file . acl . makePublic ( function ( err , accessControl ) {
252
249
assert . equal ( accessControl . role , storage . acl . READER_ROLE ) ;
253
250
assert . equal ( accessControl . scope , 'allUsers' ) ;
254
- done ( ) ;
255
- } ) ;
256
- } ) ;
257
251
258
- it ( 'should make a file private' , function ( done ) {
259
- file . acl . makePrivate ( done ) ;
252
+ file . acl . makePrivate ( done ) ;
253
+ } ) ;
260
254
} ) ;
261
255
} ) ;
262
256
} ) ;
0 commit comments