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

- old
+ new

@@ -35,9 +35,14 @@ html = JbBox.new.jb_picture_head('jb_picture' => '/img.png') assert_match(/meta/, html) assert_match(/img\.png/, html) end + def test_generates_html_simple_head_with_no_image + html = JbBox.new.jb_picture_head({}) + assert(html.empty?, html) + end + def test_generates_html_complex_head html = JbBox.new.jb_picture_head( 'jb_picture' => { 'src' => '/img2.png' }