From dccd619755eb85b0930a76535baa6195084f5cdb Mon Sep 17 00:00:00 2001 From: Wesley Cho Date: Wed, 12 Aug 2015 23:38:41 -0700 Subject: [PATCH] chore(timepicker): fix code style --- src/timepicker/test/timepicker.spec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/timepicker/test/timepicker.spec.js b/src/timepicker/test/timepicker.spec.js index 3df8652a07..b8033d2f18 100644 --- a/src/timepicker/test/timepicker.spec.js +++ b/src/timepicker/test/timepicker.spec.js @@ -25,7 +25,7 @@ describe('timepicker directive', function() { for (var i = 0; i < 2; i ++) { state.push(inputs.eq(i).val()); } - if ( withoutMeridian !== true ) { + if (withoutMeridian !== true) { state.push(getMeridianButton().text()); } return state; @@ -676,11 +676,11 @@ describe('timepicker directive', function() { $rootScope.$digest(); })); - it('displays correctly', function () { + it('displays correctly', function() { expect(getTimeState()[2]).toBe('pm'); }); - it('toggles correctly', function () { + it('toggles correctly', function() { $rootScope.time = newTime(2, 40); $rootScope.$digest(); expect(getTimeState()[2]).toBe('am'); @@ -694,7 +694,7 @@ describe('timepicker directive', function() { $rootScope.$digest(); })); - it('should make inputs readonly', function () { + it('should make inputs readonly', function() { var inputs = element.find('input'); expect(inputs.eq(0).attr('readonly')).toBe('readonly'); expect(inputs.eq(1).attr('readonly')).toBe('readonly');