Skip to content

Commit de35b53

Browse files
author
Ryan Gibbons
committed
added test for creating a container by a string that is already cdnEnabled
1 parent 6e49b35 commit de35b53

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/container-test.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ vows.describe('node-cloudfiles/containers').addBatch({
5252
helpers.assertContainer(container);
5353
}
5454
},
55+
"when creating a CDN container that already exists via string": {
56+
topic: function () {
57+
client.createContainer( "test_cdn_container", this.callback);
58+
},
59+
"should return a valid cdn container": function (err, container) {
60+
helpers.assertCdnContainer(container);
61+
}
62+
},
5563
},
5664
"the getContainers() method": {
5765
"when requesting non-CDN containers": {

0 commit comments

Comments
 (0)