Permalink
Browse files

For consistency, updated 'Service Net' to 'ServiceNet' (although Rack…

…space uses both)
  • Loading branch information...
1 parent 28fa5d9 commit 8981bdaf6271d9a0800af0c21bb7e5b63278d226 @davidwood davidwood committed Nov 18, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/servicenet-test.js
View
@@ -24,7 +24,7 @@ var client = helpers.createClient(),
vows.describe('node-cloudfiles/servicenet').addBatch({
"The node-cloudfiles client": {
- "with valid credentials and not specifying Service Net transfer": {
+ "with valid credentials and not specifying ServiceNet transfer": {
topic: function () {
client.setAuth(this.callback);
},
@@ -36,12 +36,12 @@ vows.describe('node-cloudfiles/servicenet').addBatch({
assert.include(res.headers, 'x-cdn-management-url');
assert.include(res.headers, 'x-auth-token');
},
- "should update the config with non-Service Net storage url": function (err, res) {
+ "should update the config with non-ServiceNet storage url": function (err, res) {
assert.equal(res.headers['x-storage-url'], client.config.storageUrl);
assert.ok(client.config.storageUrl.substring(0, 13) != 'https://snet-');
}
},
- "with valid credentials and specifying Service Net transfer": {
+ "with valid credentials and specifying ServiceNet transfer": {
topic: function () {
snClient.setAuth(this.callback);
},
@@ -53,7 +53,7 @@ vows.describe('node-cloudfiles/servicenet').addBatch({
assert.include(res.headers, 'x-cdn-management-url');
assert.include(res.headers, 'x-auth-token');
},
- "should update the config with non-Service Net storage url": function (err, res) {
+ "should update the config with non-ServiceNet storage url": function (err, res) {
assert.notEqual(res.headers['x-storage-url'], snClient.config.storageUrl);
assert.ok(snClient.config.storageUrl.substring(0, 13) == 'https://snet-');
}

0 comments on commit 8981bda

Please sign in to comment.