Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
chore(timepicker): fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleycho committed Aug 13, 2015
1 parent f36b61d commit dccd619
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/timepicker/test/timepicker.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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');
Expand All @@ -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');
Expand Down

0 comments on commit dccd619

Please sign in to comment.