spec/components/anchors_spec.rb in reverse_adoc-0.2.8 vs spec/components/anchors_spec.rb in reverse_adoc-0.2.9

- old
+ new

@@ -1,11 +1,11 @@ require 'spec_helper' -describe ReverseAsciidoctor do +describe ReverseAdoc do let(:input) { File.read('spec/assets/anchors.html') } let(:document) { Nokogiri::HTML(input) } - subject { ReverseAsciidoctor.convert(input) } + subject { ReverseAdoc.convert(input) } it { is_expected.to include 'http://foobar.com[Foobar]' } it { is_expected.to include 'http://foobar.com[Fubar]' } it { is_expected.to include 'http://foobar.com[f\*\*\*\*\* up beyond all redemption]' } it { is_expected.to include 'http://strong.foobar.com[*Strong foobar*]' }