@@ -436,27 +436,27 @@ describe('open_graph', () => {
436
436
is_post : isPost
437
437
} , { } ) ;
438
438
439
- result . should . contain ( meta ( { property : 'og:updated_time ' , content : '2016-05-23T21:20:21.372Z' } ) ) ;
439
+ result . should . contain ( meta ( { property : 'article:modified_time ' , content : '2016-05-23T21:20:21.372Z' } ) ) ;
440
440
} ) ;
441
441
442
- it ( 'updated - options - allow overriding og:updated_time ' , ( ) => {
442
+ it ( 'updated - options - allow overriding article:modified_time ' , ( ) => {
443
443
const result = openGraph . call ( {
444
444
page : { updated : moment ( '2016-05-23T21:20:21.372Z' ) } ,
445
445
config : hexo . config ,
446
446
is_post : isPost
447
447
} , { updated : moment ( '2015-04-22T20:19:20.371Z' ) } ) ;
448
448
449
- result . should . contain ( meta ( { property : 'og:updated_time ' , content : '2015-04-22T20:19:20.371Z' } ) ) ;
449
+ result . should . contain ( meta ( { property : 'article:modified_time ' , content : '2015-04-22T20:19:20.371Z' } ) ) ;
450
450
} ) ;
451
451
452
- it ( 'updated - options - allow disabling og:updated_time ' , ( ) => {
452
+ it ( 'updated - options - allow disabling article:modified_time ' , ( ) => {
453
453
const result = openGraph . call ( {
454
454
page : { updated : moment ( '2016-05-23T21:20:21.372Z' ) } ,
455
455
config : hexo . config ,
456
456
is_post : isPost
457
457
} , { updated : false } ) ;
458
458
459
- result . should . not . contain ( meta ( { property : 'og:updated_time ' , content : '2016-05-23T21:20:21.372Z' } ) ) ;
459
+ result . should . not . contain ( meta ( { property : 'article:modified_time ' , content : '2016-05-23T21:20:21.372Z' } ) ) ;
460
460
} ) ;
461
461
462
462
it ( 'description - do not add /(?:og:)?description/ meta tags if there is no description' , ( ) => {
0 commit comments