Commit Graph

154 Commits

Author SHA1 Message Date
Ashwin Maroli 28cc024648 Correct RuboCop offenses in spec files (#319)
Merge pull request 319
2018-12-06 05:07:41 -05:00
mindl3ss a50f80be47 Update url of schema website (#296)
Merge pull request 296
2018-05-23 11:33:06 -04:00
Tsukasa Setoguchi f8800e5286 add tests for twitter.card types (#289)
Merge pull request 289
2018-05-12 16:01:45 -04:00
Ben Balter da96f4d707
strip null values from JSON-LD hash 2017-11-16 11:40:42 -05:00
Ben Balter ca1200b90f
add failing tests for stripping null values 2017-11-16 11:39:26 -05:00
Andreas Möller ce38618ee7
Fix: Consistently use self-closing tags 2017-11-08 23:30:32 +01:00
Frank Taillandier 59cd2257b6
Style: Rubocop auto-correct 2017-10-22 18:37:44 +02:00
Ben Balter e31c9e7ca7
add unit tests for Jekyll::SeoTag 2017-09-06 12:33:19 -04:00
Frank Taillandier a6e78cb7dd
Fix test - props @Parkr 2017-09-06 02:00:09 +02:00
Frank Taillandier 5219054a76 add test for Jekyll version 2017-09-06 00:34:02 +02:00
Ben Balter cf90f9011a
correct source and dest dir paths in spec helper, props @bogdanvlviv 2017-08-24 14:56:51 -04:00
Frank Taillandier ac141413b0
Define path with __dir__ 2017-08-24 20:30:17 +02:00
Ben Balter 3ef2f613e9
fix regex syntax 2017-08-23 16:50:23 -04:00
Ben Balter 855ef7b469
make the json minification spec explicit 2017-08-23 16:44:33 -04:00
Ben Balter 792abad221
make the json minification test less order dependent 2017-08-23 16:42:05 -04:00
Ben Balter cf49c63b3c
add tests for JSON-LD drop 2017-08-23 16:20:02 -04:00
Ben Balter 5de6cd7f2c
convert JSON LD to a drop 2017-08-23 16:11:55 -04:00
Ben Balter 1081a0ebd9
break image logic into its own drop 2017-08-23 12:11:30 -04:00
Ben Balter 2e90fc7238
move author drop tests to their own spec 2017-08-23 11:32:36 -04:00
Ben Balter 891d621899
move author logic to its own drop 2017-08-23 11:07:52 -04:00
Ben Balter 7b3820f956
correct rubocop offenses 2017-08-22 13:05:49 -04:00
Ben Balter 30b8d8bb48
Merge branch 'site-authors-array' of https://github.com/jekyll/jekyll-seo-tag into site-authors-array 2017-08-22 13:05:26 -04:00
Ben Balter 27392129c4
add explicit test for site.data.authors[author] as a string 2017-08-22 13:05:19 -04:00
Ben Balter 6197b2e7a8 Merge branch 'master' into site-authors-array 2017-08-22 13:03:23 -04:00
Ben Balter 7cab0247ed
fix for image.path causing an invalid url error 2017-08-22 11:53:18 -04:00
Ben Balter f78999819f
ensure site.data.authors is in the expected format before resolving author meta 2017-08-22 11:39:52 -04:00
Ben Balter 6ad02a583d
add failing test for site.authors as an array 2017-08-22 11:31:54 -04:00
Frank Taillandier 8dc1719b81
appease rubocop 2017-07-14 19:39:05 +02:00
Ben Balter fb7a346b48
dont use unless and else, per rubocop 2017-05-25 09:35:03 -04:00
Ben Balter 245abc6032
update canoncial URL expectation 2017-05-25 09:34:18 -04:00
Ben Balter bf6b14b167 Explicitly test both canonical URL cases 2017-05-25 09:33:03 -04:00
Parth Modi c07a085e11 Stray puts removed from test of canonical url 2017-05-24 22:35:32 +05:30
Parth Modi 1e6110ddef rubocop offenses fixed 2017-05-24 22:20:44 +05:30
Parth Modi 62956da2de use canonical_url specified in page if present 2017-05-24 22:10:30 +05:30
Ben Balter e68122d8ce
guard against empty strings not being nil 2017-05-05 09:24:59 -04:00
Ben Balter 96b1fa22c5
add explicit test for all descriptions being nil 2017-05-03 09:08:40 -04:00
Ben Balter 65820ada36
Add failing test for https://github.com/jekyll/jekyll-seo-tag/issues/202 2017-05-02 09:41:18 -04:00
Frank Taillandier 696b361f19 Merge branch 'master' into nil-image-path-fix 2017-04-26 20:02:36 +02:00
Ben Balter d00191c1e3
update failing tests for bad URLs 2017-04-26 12:48:00 -04:00
Ben Balter 593d09aacc
failing test for nil image paths 2017-04-26 12:43:10 -04:00
Ben Balter b3c2cec0a0
update test expectations 2017-04-26 10:52:03 -04:00
Ben Balter c2f6d1a795
failing test for site.social and page.seo being arrays 2017-04-26 10:45:23 -04:00
Ben Balter a035ec02bc
fix for including name when author is passed by reference 2017-04-13 13:32:04 -04:00
Ben Balter 812eb22200
add test for front matter defaults 2017-04-13 11:36:49 -04:00
Ben Balter bc0f45ae64
output image as an imageObject if we have additional image properties 2017-04-11 16:33:13 -05:00
Ben Balter 0f8edbce4a
add test for specifying image height and width 2017-04-11 15:29:43 -05:00
Ben Balter cfe7e56cf8
better homepage_or_about detection 2017-04-11 15:13:24 -05:00
Ben Balter 791db5107c
check author passed as a hash in json-ld 2017-04-11 14:45:49 -05:00
Ben Balter d2f053dd43
add datePublished to JSON-LD schema 2017-04-10 09:58:41 -05:00
Ben Balter 9c06b710e6
call it an integration spec 2017-04-08 14:29:53 -04:00