From 6790f69ece5618351288b6be26610291717c4f43 Mon Sep 17 00:00:00 2001 From: Matt Styles Date: Tue, 14 May 2013 23:39:54 +0100 Subject: [PATCH] Added mongo to the list of goodies --- app/scripts/main/mainController.js | 3 ++- test/spec/controllers/main.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/scripts/main/mainController.js b/app/scripts/main/mainController.js index d29da43..181ae18 100644 --- a/app/scripts/main/mainController.js +++ b/app/scripts/main/mainController.js @@ -17,7 +17,8 @@ angular.module( 'yoAngularExpressTestApp' ) $scope.awesomeServerThings = [ 'Express', 'Hogan', - 'Socket.io' + 'Socket.io', + 'MongoDB' ]; $scope.isCollapsed = true; diff --git a/test/spec/controllers/main.js b/test/spec/controllers/main.js index c1b837b..faac46b 100644 --- a/test/spec/controllers/main.js +++ b/test/spec/controllers/main.js @@ -21,6 +21,6 @@ describe( 'Controller: MainCtrl', function() { } ); it( 'should attach a list of awesomeServerThings to the scope', function() { - expect( scope.awesomeServerThings.length ).toBe( 3 ); + expect( scope.awesomeServerThings.length ).toBe( 4 ); } ); } );