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 bfa80b8 commit 3eab354Copy full SHA for 3eab354
1 file changed
spec/docx/document_spec.rb
@@ -167,7 +167,7 @@
167
end
168
169
it 'should have the correct text' do
170
- expect(@doc.paragraphs.size).to eq(6)
+ expect(@doc.paragraphs.size).to eq(@formatting_line_count)
171
expect(@doc.paragraphs[0].text).to eq('Normal')
172
expect(@doc.paragraphs[1].text).to eq('Italic')
173
expect(@doc.paragraphs[2].text).to eq('Bold')
0 commit comments