summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2023-04-18 23:59:10 -0600
committerDan Allen <dan.j.allen@gmail.com>2023-04-19 01:29:41 -0600
commit549105dac7d1545442a02f39b2e51291db06bbf8 (patch)
tree8c327b5958dd5cb7a3b5fd5f14518d7638828e98 /spec
parent9d21102b32edcfd81dc3960d1284d4c1ac22dbb9 (diff)
remove redundant base qualifier on constants used at top level
Diffstat (limited to 'spec')
-rw-r--r--spec/converter_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/converter_spec.rb b/spec/converter_spec.rb
index 61828862..0b98840e 100644
--- a/spec/converter_spec.rb
+++ b/spec/converter_spec.rb
@@ -1390,7 +1390,7 @@ describe Asciidoctor::PDF::Converter do
def ink_general_heading sect, title, opts = {}
if (image_path = sect.attr 'image')
image_attrs = { 'target' => image_path, 'pdfwidth' => '1in' }
- image_block = ::Asciidoctor::Block.new sect.document, :image, content_model: :empty, attributes: image_attrs
+ image_block = Asciidoctor::Block.new sect.document, :image, content_model: :empty, attributes: image_attrs
convert_image image_block, relative_to_imagesdir: true, pinned: true
end
super