Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using memory instead of redis for test #563

Merged
merged 1 commit into from
Feb 20, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 29 additions & 29 deletions test/integration/composer.js
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
// Load modules

var Chai = require('chai');
var Hapi = require('../helpers');


// Declare internals

var internals = {};


// Test shortcuts

var expect = Chai.expect;


// Load modules
var Chai = require('chai');
var Hapi = require('../helpers');
// Declare internals
var internals = {};
// Test shortcuts
var expect = Chai.expect;
describe('Composer', function () {

it('composes pack', function (done) {

var options = {
servers: {
ren: {
port: 0,
labels: ['api', 'nasty'],
labels: ['api', 'nasty'],
config: {
monitor: {
subscribers: {
console: ['ops', 'request', 'log']
}
},
cache: 'redis'
},
cache: 'memory'
}
},
},
stimpy: {
host: 'localhost',
host: 'localhost',
port: 0,
labels: ['api', 'nice']
}
},
},
plugins: {
furball: {
version: false,
version: false,
plugins: '/'
}
},
permissions: {
ext: true
}
};

var composer = new Hapi.Composer(options);
};
var composer = new Hapi.Composer(options);
composer.compose(function (err) {

expect(err).to.not.exist;
Expand All @@ -64,6 +64,6 @@ describe('Composer', function () {
done();
});
});
});
});
});
});
});