summaryrefslogtreecommitdiff
path: root/spec/dest_spec.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2019-09-14 23:55:20 -0600
committerDan Allen <dan.j.allen@gmail.com>2019-09-15 00:10:33 -0600
commita8af37ed24883ae8d0ff75e8af138099b9a83b44 (patch)
tree1cd417c5de563adc49e1402c182af8ad2ee9435d /spec/dest_spec.rb
parent8a514a4d60e35b259cdeaee2afd0c3694d49f22a (diff)
verify internal xrefs work
Diffstat (limited to 'spec/dest_spec.rb')
-rw-r--r--spec/dest_spec.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/dest_spec.rb b/spec/dest_spec.rb
index a83f5150..985b81bb 100644
--- a/spec/dest_spec.rb
+++ b/spec/dest_spec.rb
@@ -18,14 +18,6 @@ describe 'Asciidoctor::PDF::Converter - Dest' do
(expect top_y).to eql page_height
end
- it 'should link self-referencing interdocument xref to built-in __anchor-top ref' do
- pdf = to_pdf Pathname.new fixture_file 'reference-to-self.adoc'
- (expect Pathname.new output_file 'reference-to-self.pdf').to exist
- annotations = get_annotations pdf
- (expect annotations).to have_size 1
- (expect annotations[0][:Dest]).to eql '__anchor-top'
- end
-
it 'should define a dest at the location of an inline anchor' do
['[[details]]details', '[#details]#details#'].each do |details|
pdf = to_pdf <<~EOS