summaryrefslogtreecommitdiff
path: root/spec/font_spec.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2020-02-29 23:48:46 -0700
committerDan Allen <dan.j.allen@gmail.com>2020-03-01 01:49:00 -0700
commit7c4c23fb81211158a8d250d89a39f7d916b29d99 (patch)
treedfd64f8895e2afbbe7cdf5e25c3667925f88158c /spec/font_spec.rb
parent7e497ca67599881cecdd80ff5e745cf183caf030 (diff)
rewrite lines method in text inspector to insert space between separate text elements
Diffstat (limited to 'spec/font_spec.rb')
-rw-r--r--spec/font_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/font_spec.rb b/spec/font_spec.rb
index c7f1dc98..e4a2b0e6 100644
--- a/spec/font_spec.rb
+++ b/spec/font_spec.rb
@@ -95,10 +95,9 @@ describe 'Asciidoctor::PDF::Converter - Font' do
no{zwsp}space
button:[Save]
-
EOS
(expect pdf.find_text font_name: 'Helvetica').to have_size pdf.text.size
- (expect pdf.lines).to eql [%(\u2022disc), '-circle', %(\u00b7square), 'nospace', 'button:[Save]']
+ (expect pdf.lines).to eql [%(\u2022 disc), '- circle', %(\u00b7 square), 'nospace', 'button:[Save]']
end).to not_log_message
end
end