Skip to content

Commit

Permalink
For consistency, updated 'Service Net' to 'ServiceNet' (although Rack…
Browse files Browse the repository at this point in the history
…space uses both)
  • Loading branch information
davidwood committed Nov 18, 2011
1 parent 28fa5d9 commit 8981bda
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/servicenet-test.js
Expand Up @@ -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);
},
Expand All @@ -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);
},
Expand All @@ -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-');
}
Expand Down

0 comments on commit 8981bda

Please sign in to comment.