From 58c3303e3b2f33d47eab017811edc6deda66691c Mon Sep 17 00:00:00 2001 From: olli Date: Fri, 27 Jun 2014 14:50:40 +0100 Subject: [PATCH 1/2] Just a test --- lib/plugins/DJCordhose/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/DJCordhose/index.js b/lib/plugins/DJCordhose/index.js index 6db26dc..a13e64c 100644 --- a/lib/plugins/DJCordhose/index.js +++ b/lib/plugins/DJCordhose/index.js @@ -12,7 +12,7 @@ exports.register = function(plugin, options, next) { method: 'GET', path: '/DJCordhose', handler: function(request, reply) { - reply('don\'t worry, be hapi!'); + reply('don\'t worry, be hapi! Yo!'); } }); From 077187aecf25ec12cb9c1cebcdf9abc8b13e4dfe Mon Sep 17 00:00:00 2001 From: olli Date: Fri, 27 Jun 2014 15:24:37 +0100 Subject: [PATCH 2/2] Adapted test to new brilliant response --- test/plugins/DJCordhose/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/plugins/DJCordhose/index.js b/test/plugins/DJCordhose/index.js index 8cbf65b..de70d13 100644 --- a/test/plugins/DJCordhose/index.js +++ b/test/plugins/DJCordhose/index.js @@ -43,7 +43,7 @@ describe('DJCordhose', function() { server.inject(request, function(res) { expect(res.statusCode).to.equal(200); - expect(res.result).to.equal('don\'t worry, be hapi!'); + expect(res.result).to.equal('don\'t worry, be hapi! Yo!'); done(); });