Skip to content

Commit db64218

Browse files
committed
Update 2011.js
1 parent ed8e9c4 commit db64218

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

  • tests/suites/keyboard_navigation

tests/suites/keyboard_navigation/2011.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ test('Regression: by week (up/down arrows); up from Mar 6, 2011 should go to Feb
2424
this.input.val('06-03-2011').datepicker('update');
2525

2626
equal(this.dp.viewMode, 0);
27-
target = this.picker.find('.datepicker-days thead th.switch');
27+
target = this.picker.find('.datepicker-days thead th.datepicker-switch');
2828
equal(target.text(), 'March 2011', 'Title is "March 2011"');
2929
datesEqual(this.dp.viewDate, UTCDate(2011, 2, 6));
3030
datesEqual(this.dp.date, UTCDate(2011, 2, 6));
@@ -36,7 +36,7 @@ test('Regression: by week (up/down arrows); up from Mar 6, 2011 should go to Feb
3636
});
3737
datesEqual(this.dp.viewDate, UTCDate(2011, 1, 27));
3838
datesEqual(this.dp.date, UTCDate(2011, 1, 27));
39-
target = this.picker.find('.datepicker-days thead th.switch');
39+
target = this.picker.find('.datepicker-days thead th.datepicker-switch');
4040
equal(target.text(), 'February 2011', 'Title is "February 2011"');
4141
});
4242

@@ -46,7 +46,7 @@ test('Regression: by day (left/right arrows); left from Mar 1, 2011 should go to
4646
this.input.val('01-03-2011').datepicker('update');
4747

4848
equal(this.dp.viewMode, 0);
49-
target = this.picker.find('.datepicker-days thead th.switch');
49+
target = this.picker.find('.datepicker-days thead th.datepicker-switch');
5050
equal(target.text(), 'March 2011', 'Title is "March 2011"');
5151
datesEqual(this.dp.viewDate, UTCDate(2011, 2, 1));
5252
datesEqual(this.dp.date, UTCDate(2011, 2, 1));
@@ -58,7 +58,7 @@ test('Regression: by day (left/right arrows); left from Mar 1, 2011 should go to
5858
});
5959
datesEqual(this.dp.viewDate, UTCDate(2011, 1, 28));
6060
datesEqual(this.dp.date, UTCDate(2011, 1, 28));
61-
target = this.picker.find('.datepicker-days thead th.switch');
61+
target = this.picker.find('.datepicker-days thead th.datepicker-switch');
6262
equal(target.text(), 'February 2011', 'Title is "February 2011"');
6363
});
6464

@@ -68,7 +68,7 @@ test('Regression: by month (shift + left/right arrows); left from Mar 15, 2011 s
6868
this.input.val('15-03-2011').datepicker('update');
6969

7070
equal(this.dp.viewMode, 0);
71-
target = this.picker.find('.datepicker-days thead th.switch');
71+
target = this.picker.find('.datepicker-days thead th.datepicker-switch');
7272
equal(target.text(), 'March 2011', 'Title is "March 2011"');
7373
datesEqual(this.dp.viewDate, UTCDate(2011, 2, 15));
7474
datesEqual(this.dp.date, UTCDate(2011, 2, 15));
@@ -81,6 +81,6 @@ test('Regression: by month (shift + left/right arrows); left from Mar 15, 2011 s
8181
});
8282
datesEqual(this.dp.viewDate, UTCDate(2011, 1, 15));
8383
datesEqual(this.dp.date, UTCDate(2011, 1, 15));
84-
target = this.picker.find('.datepicker-days thead th.switch');
84+
target = this.picker.find('.datepicker-days thead th.datepicker-switch');
8585
equal(target.text(), 'February 2011', 'Title is "February 2011"');
8686
});

0 commit comments

Comments
 (0)