summaryrefslogtreecommitdiff
path: root/spec/image_spec.rb
diff options
context:
space:
mode:
authorMarat Radchenko <marat@slonopotamus.org>2020-02-24 14:29:00 +0300
committerMarat Radchenko <marat@slonopotamus.org>2020-02-24 14:31:09 +0300
commit91c18091eeb59f3daedcff2b4c5d9c7b96ed918a (patch)
treedff3c4008ebe5612e4f4f3f0d9a283cb83bb1f56 /spec/image_spec.rb
parent0626ed5035168234e68fcb0da67f0aa7b6bb15ef (diff)
uncomment SVG test given that gepub 1.0.11 is out
Diffstat (limited to 'spec/image_spec.rb')
-rw-r--r--spec/image_spec.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/image_spec.rb b/spec/image_spec.rb
index ccb5bc5..9d3dcab 100644
--- a/spec/image_spec.rb
+++ b/spec/image_spec.rb
@@ -55,8 +55,7 @@ describe 'Asciidoctor::Epub3::Converter - Image' do
expect(chapter.content).to include '<img src="square.png" alt="50x?" width="50" />'
end
-=begin
- TODO: blocked by https://github.com/skoji/gepub/issues/110
+ # If this test fails for you, make sure you're using gepub >= 1.0.11
it 'adds SVG attribute to EPUB manifest if chapter contains SVG images' do
book, = to_epub 'svg/book.adoc'
chapter = book.item_by_href '_chapter.xhtml'
@@ -64,5 +63,4 @@ describe 'Asciidoctor::Epub3::Converter - Image' do
properties = chapter['properties']
expect(properties).to include('svg')
end
-=end
end