2011-04-02 08:31:20 +00:00
|
|
|
/*
|
|
|
|
* data.js: Simple data fixture for configuration test.
|
|
|
|
*
|
2011-11-24 05:33:08 +00:00
|
|
|
* (C) 2011, Nodejitsu Inc.
|
2011-04-02 08:31:20 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
exports.data = {
|
|
|
|
literal: 'bazz',
|
|
|
|
arr: ['one', 2, true, { value: 'foo' }],
|
|
|
|
obj: {
|
|
|
|
host: 'localhost',
|
|
|
|
port: 5984,
|
|
|
|
array: ['one', 2, true, { foo: 'bar' }],
|
|
|
|
auth: {
|
|
|
|
username: 'admin',
|
|
|
|
password: 'password'
|
|
|
|
}
|
|
|
|
}
|
2011-06-05 05:29:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
exports.merge = {
|
|
|
|
prop1: 1,
|
|
|
|
prop2: [1, 2, 3],
|
|
|
|
prop3: {
|
|
|
|
foo: 'bar',
|
|
|
|
bar: 'foo'
|
|
|
|
}
|
|
|
|
};
|