Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

pack config

  • Loading branch information...
commit f3429255ff65936c363e723465e74b1d831870ef 1 parent e7891e7
@hueniverse hueniverse authored
Showing with 6 additions and 10 deletions.
  1. +2 −2 package.json
  2. +4 −8 test/index.js
View
4 package.json
@@ -1,7 +1,7 @@
{
"name": "tv",
"description": "Interactive debug console plugin for hapi",
- "version": "0.0.2",
+ "version": "0.0.3",
"author": "Eran Hammer <eran@hueniverse.com> (http://hueniverse.com)",
"contributors":[
"Wyatt Preul <wpreul@gmail.com>",
@@ -17,7 +17,7 @@
"plugin"
],
"engines": {
- "node": ">=0.8.0"
+ "node": "0.8.x"
},
"dependencies": {
"hoek": "0.4.x",
View
12 test/index.js
@@ -20,13 +20,9 @@ describe('Tv', function () {
var server = null;
before(function (done) {
+
var options = {
- permissions: {
- ext: true
- },
- plugin: {
- websocketPort: 3007
- }
+ websocketPort: 3007
};
server = new Hapi.Server();
@@ -40,10 +36,10 @@ describe('Tv', function () {
}
});
- server.plugin().require('../', options, function (err) {
+ server.plugin().allow({ ext: true }).require('../', options, function (err) {
expect(err).to.not.exist;
- done();
+ done();
});
});
Please sign in to comment.
Something went wrong with that request. Please try again.