From d007763e17f5cf095517cf64fb2536fb865da89d Mon Sep 17 00:00:00 2001 From: Matt Travi Date: Sun, 24 Jan 2016 23:54:38 -0600 Subject: [PATCH] captured scarecrow dependency for #8 --- lib/api/auth.js | 3 ++- test/unit/api/auth-test.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/api/auth.js b/lib/api/auth.js index 960ad6d9f..950e7caac 100644 --- a/lib/api/auth.js +++ b/lib/api/auth.js @@ -9,5 +9,6 @@ exports.register = function (server, options, next) { }; exports.register.attributes = { - name: 'auth-strategy' + name: 'auth-strategy', + dependencies: 'scarecrow' }; \ No newline at end of file diff --git a/test/unit/api/auth-test.js b/test/unit/api/auth-test.js index 7cca8c2d2..e36725ec2 100644 --- a/test/unit/api/auth-test.js +++ b/test/unit/api/auth-test.js @@ -3,7 +3,8 @@ const auth = require('../../../lib/api/auth'); suite('api authorization', function () { test('that the plugin is defined', () => { assert.equals(auth.register.attributes, { - name: 'auth-strategy' + name: 'auth-strategy', + dependencies: 'scarecrow' }); });