@@ -41,7 +41,7 @@ describe('minute view with initial date of 2013-01-22 0:00', function () {
4141 $rootScope . $digest ( ) ;
4242 } ) ) ;
4343 it ( 'has `.switch` element with a value of 2013-Jan-22 0:00' , function ( ) {
44- expect ( jQuery ( '.switch' , element ) . text ( ) ) . toBe ( '2013年1月22日凌晨12点00 ' ) ;
44+ expect ( jQuery ( '.switch' , element ) . text ( ) ) . toBe ( '2013年1月22日凌晨12点00分 ' ) ;
4545 } ) ;
4646 it ( 'has 12 `.minute` elements' , function ( ) {
4747 expect ( jQuery ( '.minute' , element ) . length ) . toBe ( 12 ) ;
@@ -50,7 +50,7 @@ describe('minute view with initial date of 2013-01-22 0:00', function () {
5050 expect ( jQuery ( '.active' , element ) . length ) . toBe ( 1 ) ;
5151 } ) ;
5252 it ( '`.active` element with a value of 0:00' , function ( ) {
53- expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '凌晨12点00 ' ) ;
53+ expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '凌晨12点00分 ' ) ;
5454 } ) ;
5555} ) ;
5656
@@ -67,21 +67,21 @@ describe('minute view with initial date of 2013-01-22 1:15', function () {
6767 $rootScope . $digest ( ) ;
6868 } ) ) ;
6969 it ( 'has `.switch` element with a value of 2013-Jan-22 1:00' , function ( ) {
70- expect ( jQuery ( '.switch' , element ) . text ( ) ) . toBe ( '2013年1月22日凌晨1点00 ' ) ;
70+ expect ( jQuery ( '.switch' , element ) . text ( ) ) . toBe ( '2013年1月22日凌晨1点00分 ' ) ;
7171 } ) ;
7272 it ( 'has 4 `.minute` elements' , function ( ) {
7373 expect ( jQuery ( '.minute' , element ) . length ) . toBe ( 4 ) ;
7474 } ) ;
7575 it ( 'has 1 `.active` element with a value of 1:15' , function ( ) {
76- expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '凌晨1点15 ' ) ;
76+ expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '凌晨1点15分 ' ) ;
7777 } ) ;
7878 it ( 'changes date/time to 1:00 to when clicking first `.minute` element with a value of 0:00' , function ( ) {
79- expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '凌晨1点15 ' ) ;
79+ expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '凌晨1点15分 ' ) ;
8080
8181 var selectedElement = jQuery ( jQuery ( '.minute' , element ) [ 0 ] ) ;
8282 selectedElement . trigger ( 'click' ) ;
8383
84- expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '凌晨1点00 ' ) ;
84+ expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '凌晨1点00分 ' ) ;
8585 expect ( rootScope . date ) . toEqual ( moment ( '2013-01-22T01:00:00.000' ) . toDate ( ) ) ;
8686 } ) ;
8787} ) ;
0 commit comments