From 004798f1bfbe991d0bc9153e4f18818ca4eace19 Mon Sep 17 00:00:00 2001 From: Ricardo Melo Date: Sat, 28 Jun 2014 19:38:22 +0100 Subject: [PATCH 1/2] Change Text --- lib/plugins/rjsmelo/index.js | 2 +- test/plugins/rjsmelo/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plugins/rjsmelo/index.js b/lib/plugins/rjsmelo/index.js index 38339e5..0d5914b 100644 --- a/lib/plugins/rjsmelo/index.js +++ b/lib/plugins/rjsmelo/index.js @@ -12,7 +12,7 @@ exports.register = function(plugin, options, next) { method: 'GET', path: '/rjsmelo', handler: function(request, reply) { - reply('don\'t worry, be hapi!'); + reply('Look mom I\'m hapi!); } }); diff --git a/test/plugins/rjsmelo/index.js b/test/plugins/rjsmelo/index.js index b41135e..36c745c 100644 --- a/test/plugins/rjsmelo/index.js +++ b/test/plugins/rjsmelo/index.js @@ -43,7 +43,7 @@ describe('rjsmelo', 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('Look mom I\'m hapi!'); done(); }); From 3869fefacaf964d29ffbb98133e620614e3820bf Mon Sep 17 00:00:00 2001 From: Ricardo Melo Date: Sat, 28 Jun 2014 19:43:42 +0100 Subject: [PATCH 2/2] not so hapi --- lib/plugins/rjsmelo/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/rjsmelo/index.js b/lib/plugins/rjsmelo/index.js index 0d5914b..0e7fe87 100644 --- a/lib/plugins/rjsmelo/index.js +++ b/lib/plugins/rjsmelo/index.js @@ -12,7 +12,7 @@ exports.register = function(plugin, options, next) { method: 'GET', path: '/rjsmelo', handler: function(request, reply) { - reply('Look mom I\'m hapi!); + reply('Look mom I\'m hapi!'); } });