hapi-crud-promise
Advanced tools
Comparing version 0.1.1 to 0.2.0
@@ -7,3 +7,3 @@ 'use strict'; | ||
let baseOpts = _.omit(options, [ | ||
let baseOpts = _.omit(_.cloneDeep(options), [ | ||
'method', | ||
@@ -10,0 +10,0 @@ 'path', |
{ | ||
"name": "hapi-crud-promise", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "Easily create CRUD routes on a hapi server by providing a path and promises for each of the actions", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -140,3 +140,3 @@ 'use strict'; | ||
it('should pass along other options to server', () => { | ||
it.only('should pass along other options to server', () => { | ||
server.register(require('hapi-auth-basic')) | ||
@@ -143,0 +143,0 @@ server.auth.strategy('simple', 'basic', { validateFunc: (() => {true}) }); |
14600