@@ -26,7 +26,7 @@ describe('minute view with initial date of 2013-01-22 0:00', function () {
2626 $rootScope . $digest ( ) ;
2727 } ) ) ;
2828 it ( 'has `.switch` element with a value of 2013-Jan-22 0:00' , function ( ) {
29- expect ( jQuery ( '.switch' , element ) . text ( ) ) . toBe ( '22. Jan. 2013 00:00 Uhr ' ) ;
29+ expect ( jQuery ( '.switch' , element ) . text ( ) ) . toBe ( '22. Jan. 2013 00:00' ) ;
3030 } ) ;
3131 it ( 'has 12 `.minute` elements' , function ( ) {
3232 expect ( jQuery ( '.minute' , element ) . length ) . toBe ( 12 ) ;
@@ -35,7 +35,7 @@ describe('minute view with initial date of 2013-01-22 0:00', function () {
3535 expect ( jQuery ( '.active' , element ) . length ) . toBe ( 1 ) ;
3636 } ) ;
3737 it ( '`.active` element with a value of 0:00' , function ( ) {
38- expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '00:00 Uhr ' ) ;
38+ expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '00:00' ) ;
3939 } ) ;
4040} ) ;
4141
@@ -52,21 +52,21 @@ describe('minute view with initial date of 2013-01-22 1:15', function () {
5252 $rootScope . $digest ( ) ;
5353 } ) ) ;
5454 it ( 'has `.switch` element with a value of 22. Jan. 2013 01:00 Uhr' , function ( ) {
55- expect ( jQuery ( '.switch' , element ) . text ( ) ) . toBe ( '22. Jan. 2013 01:00 Uhr ' ) ;
55+ expect ( jQuery ( '.switch' , element ) . text ( ) ) . toBe ( '22. Jan. 2013 01:00' ) ;
5656 } ) ;
5757 it ( 'has 4 `.minute` elements' , function ( ) {
5858 expect ( jQuery ( '.minute' , element ) . length ) . toBe ( 4 ) ;
5959 } ) ;
6060 it ( 'has 1 `.active` element with a value of 1:15' , function ( ) {
61- expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '01:15 Uhr ' ) ;
61+ expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '01:15' ) ;
6262 } ) ;
6363 it ( 'changes date/time to 1:00 to when clicking first `.minute` element with a value of 01:00 Uhr' , function ( ) {
64- expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '01:15 Uhr ' ) ;
64+ expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '01:15' ) ;
6565
6666 var selectedElement = jQuery ( jQuery ( '.minute' , element ) [ 0 ] ) ;
6767 selectedElement . trigger ( 'click' ) ;
6868
69- expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '01:00 Uhr ' ) ;
69+ expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '01:00' ) ;
7070 expect ( $rootScope . date ) . toEqual ( moment ( '2013-01-22T01:00:00.000' ) . toDate ( ) ) ;
7171 } ) ;
7272} ) ;
0 commit comments