test/test_picture.rb in jekyll-bits-0.10 vs test/test_picture.rb in jekyll-bits-0.11

- old
+ new

@@ -54,9 +54,11 @@ } ) assert_match(/meta/, html) assert_contains("<meta name='og:image:width' content='1280'/>", html) assert_contains("<meta name='og:image:height' content='543'/>", html) + assert_contains("<meta name='twitter:image:width' content='1280'/>", html) + assert_contains("<meta name='twitter:image:height' content='543'/>", html) end def test_generates_html_simple_body html = JbBox.new.jb_picture_body('jb_picture' => '/img1.png') assert_match(/img/, html)