Skip to content

Commit

Permalink
Merge pull request #563 from wpreul/master
Browse files Browse the repository at this point in the history
Using memory instead of redis for test
  • Loading branch information
Eran Hammer committed Feb 20, 2013
2 parents a52fe23 + 231f5e8 commit 264f6b4
Showing 1 changed file with 29 additions and 29 deletions.
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();
});
});
});
});
});
});
});

0 comments on commit 264f6b4

Please sign in to comment.