Skip to content

Commit

Permalink
Reproduce the error reported #142
Browse files Browse the repository at this point in the history
  • Loading branch information
satoryu committed Oct 29, 2023
1 parent b928484 commit 90de4c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/docx/document_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Binary file added spec/fixtures/internal-links.docx
Binary file not shown.

0 comments on commit 90de4c1

Please sign in to comment.