@@ -44,7 +44,7 @@ describe('minute view with initial date of 2013-01-22 0:00', function () {
4444 $rootScope . $digest ( ) ;
4545 } ) ) ;
4646 it ( 'has `.switch` element with a value of 2013-Jan-22 0:00' , function ( ) {
47- expect ( jQuery ( '.switch' , element ) . text ( ) ) . toBe ( '2013年1月22日凌晨12点00 ' ) ;
47+ expect ( jQuery ( '.switch' , element ) . text ( ) ) . toBe ( '2013年1月22日凌晨12点00分 ' ) ;
4848 } ) ;
4949 it ( 'has 12 `.minute` elements' , function ( ) {
5050 expect ( jQuery ( '.minute' , element ) . length ) . toBe ( 12 ) ;
@@ -53,7 +53,7 @@ describe('minute view with initial date of 2013-01-22 0:00', function () {
5353 expect ( jQuery ( '.active' , element ) . length ) . toBe ( 1 ) ;
5454 } ) ;
5555 it ( '`.active` element with a value of 0:00' , function ( ) {
56- expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '凌晨12点00 ' ) ;
56+ expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '凌晨12点00分 ' ) ;
5757 } ) ;
5858} ) ;
5959
@@ -70,21 +70,21 @@ describe('minute view with initial date of 2013-01-22 1:15', function () {
7070 $rootScope . $digest ( ) ;
7171 } ) ) ;
7272 it ( 'has `.switch` element with a value of 2013-Jan-22 1:00' , function ( ) {
73- expect ( jQuery ( '.switch' , element ) . text ( ) ) . toBe ( '2013年1月22日凌晨1点00 ' ) ;
73+ expect ( jQuery ( '.switch' , element ) . text ( ) ) . toBe ( '2013年1月22日凌晨1点00分 ' ) ;
7474 } ) ;
7575 it ( 'has 4 `.minute` elements' , function ( ) {
7676 expect ( jQuery ( '.minute' , element ) . length ) . toBe ( 4 ) ;
7777 } ) ;
7878 it ( 'has 1 `.active` element with a value of 1:15' , function ( ) {
79- expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '凌晨1点15 ' ) ;
79+ expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '凌晨1点15分 ' ) ;
8080 } ) ;
8181 it ( 'changes date/time to 1:00 to when clicking first `.minute` element with a value of 0:00' , function ( ) {
82- expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '凌晨1点15 ' ) ;
82+ expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '凌晨1点15分 ' ) ;
8383
8484 var selectedElement = jQuery ( jQuery ( '.minute' , element ) [ 0 ] ) ;
8585 selectedElement . trigger ( 'click' ) ;
8686
87- expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '凌晨1点00 ' ) ;
87+ expect ( jQuery ( '.active' , element ) . text ( ) ) . toBe ( '凌晨1点00分 ' ) ;
8888 expect ( $rootScope . date ) . toEqual ( moment ( '2013-01-22T01:00:00.000' ) . toDate ( ) ) ;
8989 } ) ;
9090} ) ;
0 commit comments