Browse files

added test for creating a container by a string that is already cdnEn…

…abled
  • Loading branch information...
1 parent 6e49b35 commit de35b538c2b485a37ab12ea6ed64dcd6c365620f @rtgibbons committed Nov 16, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 test/container-test.js
View
8 test/container-test.js
@@ -52,6 +52,14 @@ vows.describe('node-cloudfiles/containers').addBatch({
helpers.assertContainer(container);
}
},
+ "when creating a CDN container that already exists via string": {
+ topic: function () {
+ client.createContainer( "test_cdn_container", this.callback);
+ },
+ "should return a valid cdn container": function (err, container) {
+ helpers.assertCdnContainer(container);
+ }
+ },
},
"the getContainers() method": {
"when requesting non-CDN containers": {

0 comments on commit de35b53

Please sign in to comment.