Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
Revert "Fixing tests for node 0.4"
Browse files Browse the repository at this point in the history
This reverts commit e5f8076.
  • Loading branch information
chrishoffman committed Mar 20, 2012
1 parent e5f8076 commit 3156c1c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
4 changes: 2 additions & 2 deletions test/client-test.js
@@ -1,8 +1,8 @@
var client = require('../lib/cloudstackClient');

var args = (process.env.LIVE)
? require('./live/clientargs')
: require('./nonlive/clientargs');
? require('./live/clientargs.json')
: require('./nonlive/clientargs.json');

if (!process.env.LIVE) {
var mocks = require('./nonlive/mocks');
Expand Down
6 changes: 2 additions & 4 deletions test/live/clientargs.js → test/live/clientargs.json
@@ -1,10 +1,8 @@
var config = {
{
"host": "xxx.xxx.xxx.xxx",
"account": "xxx",
"apiKey": "xxx",
"apiSecret": "xxx",
"domainId": 1,
"response": "json"
};

module.exports = config;
}
6 changes: 2 additions & 4 deletions test/nonlive/clientargs.js → test/nonlive/clientargs.json
@@ -1,10 +1,8 @@
var config = {
{
"host": "Host",
"account": "TestUser",
"apiKey": "TestUserApiKey",
"apiSecret": "TestUserApiSecret",
"domainId": 1,
"response": "json"
}

module.exports = config
}

0 comments on commit 3156c1c

Please sign in to comment.