Skip to content

Commit c6cd250

Browse files
+spec fix
1 parent a07bd8d commit c6cd250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/docx/document_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
end
2828

2929
it 'should throw file not found error' do
30+
invalid_path = @fixtures_path + '/invalid_file_path.docx'
3031
expect do
31-
invalid_path = @fixtures_path + '/invalid_file_path.docx'
3232
Docx::Document.open(invalid_path)
3333
end.to raise_error(Zip::Error, "File #{invalid_path} not found")
3434
end

0 commit comments

Comments
 (0)