Skip to content

Commit

Permalink
captured scarecrow dependency for #8
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Jan 25, 2016
1 parent 2806c5e commit eebc1ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/api/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ exports.register = function (server, options, next) {
};

exports.register.attributes = {
name: 'auth-strategy'
name: 'auth-strategy',
dependencies: 'scarecrow'
};
3 changes: 2 additions & 1 deletion test/unit/api/auth-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
});
});

Expand Down

0 comments on commit eebc1ab

Please sign in to comment.