Skip to content

Commit e9f4266

Browse files
committed
Document#to_s returns a String
1 parent 75a7969 commit e9f4266

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

spec/docx/document_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,5 +474,8 @@
474474
it 'does not raise error' do
475475
expect { doc.to_s }.to_not raise_error
476476
end
477+
it 'returns a String' do
478+
expect(doc.to_s).to be_a(String)
479+
end
477480
end
478481
end

0 commit comments

Comments
 (0)