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 d0d6fb6 commit a965263Copy full SHA for a965263
1 file changed
spec/docx/document_spec.rb
@@ -387,6 +387,17 @@
387
doc = Docx::Document.open(@fixtures_path + '/basic.docx')
388
expect(doc.stream).to be_a(StringIO)
389
end
390
+
391
+ context 'should return a valid docx stream' do
392
+ before do
393
+ doc = Docx::Document.open(@fixtures_path + '/basic.docx')
394
+ result = doc.stream
395
396
+ @doc = Docx::Document.open_buffer(result)
397
+ end
398
399
+ it_behaves_like 'reading'
400
401
402
403
describe 'outputting html' do
0 commit comments