diff --git a/spec/docx/document_spec.rb b/spec/docx/document_spec.rb index 28db70f..980327a 100755 --- a/spec/docx/document_spec.rb +++ b/spec/docx/document_spec.rb @@ -522,4 +522,13 @@ end end + describe '#to_html' do + before do + @doc = Docx::Document.open(@fixtures_path + '/internal-links.docx') + end + + it 'should not raise error' do + expect { @doc.to_html }.to_not raise_error + end + end end diff --git a/spec/fixtures/internal-links.docx b/spec/fixtures/internal-links.docx new file mode 100644 index 0000000..31a7153 Binary files /dev/null and b/spec/fixtures/internal-links.docx differ