From 6903dcf56cf3337fde0b635705507af7dc36077a Mon Sep 17 00:00:00 2001 From: Adrian Ber Date: Fri, 20 Nov 2015 19:08:22 +0200 Subject: [PATCH] fix tests --- docs/blocks/event/ctrl.js | 6 +++--- docs/blocks/object/ctrl.js | 6 +++--- docs/blocks/object/test.js | 2 +- index.html | 24 ++++++++++++------------ 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/blocks/event/ctrl.js b/docs/blocks/event/ctrl.js index 5b974ab..70be993 100644 --- a/docs/blocks/event/ctrl.js +++ b/docs/blocks/event/ctrl.js @@ -1,9 +1,9 @@ app.controller('Ctrl5', function($scope) { $scope.roles = { - g: 'Guest', - u: 'User', + a: 'Administrator', c: 'Customer', - a: 'Administrator' + g: 'Guest', + u: 'User' }; $scope.testValue = 'Im not changed yet!'; diff --git a/docs/blocks/object/ctrl.js b/docs/blocks/object/ctrl.js index daf2a70..bc1e7e2 100644 --- a/docs/blocks/object/ctrl.js +++ b/docs/blocks/object/ctrl.js @@ -1,9 +1,9 @@ app.controller('Ctrl4', function($scope) { $scope.roles = { - g: 'Guest', - u: 'User', + a: 'Administrator', c: 'Customer', - a: 'Administrator' + g: 'Guest', + u: 'User' }; $scope.user = { roles: ['c'] diff --git a/docs/blocks/object/test.js b/docs/blocks/object/test.js index bb3c83a..e07268c 100644 --- a/docs/blocks/object/test.js +++ b/docs/blocks/object/test.js @@ -22,7 +22,7 @@ describe('object', function() { it('should check all', function() { element(s+'button[ng-click="checkAll()"]').click(); check(a, [1,1,1,1]); - expect(element(s+'pre').text()).toBe('[\n \"g\",\n \"u\",\n \"c\",\n \"a\"\n]'); + expect(element(s+'pre').text()).toBe('[\n \"a\",\n \"c\",\n \"g\",\n \"u\"\n]'); }); it('should uncheck all', function() { diff --git a/index.html b/index.html index efec28f..327c360 100644 --- a/index.html +++ b/index.html @@ -351,10 +351,10 @@

demo