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 a55a786 commit 5a382e3Copy full SHA for 5a382e3
spec/document/text_block_spec.rb
@@ -56,6 +56,12 @@ module Boilerpipe
56
subject.merge_next(another_block)
57
expect(subject.num_words).to eq 1
58
end
59
+
60
+ it 'num_words_in_anchor_text gets combined' do
61
+ another_block = Document::TextBlock.new('good-bye', 1, 1)
62
+ subject.merge_next(another_block)
63
+ expect(subject.num_words_in_anchor_text).to eq 1
64
+ end
65
66
67
describe '#add_label' do
0 commit comments