We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a07bd8d commit c6cd250Copy full SHA for c6cd250
spec/docx/document_spec.rb
@@ -27,8 +27,8 @@
27
end
28
29
it 'should throw file not found error' do
30
+ invalid_path = @fixtures_path + '/invalid_file_path.docx'
31
expect do
- invalid_path = @fixtures_path + '/invalid_file_path.docx'
32
Docx::Document.open(invalid_path)
33
end.to raise_error(Zip::Error, "File #{invalid_path} not found")
34
0 commit comments