Sha256: 951332484d1c70d9a533ae0aaf6a3e076a72dda7919f693b9dc4013916e42edd
Contents?: true
Size: 272 Bytes
Versions: 2
Compression:
Stored size: 272 Bytes
Contents
require "spec_helper" describe ReverseAdoc::Converters::P do let(:converter) { ReverseAdoc::Converters::P.new } it "converts p with anchor" do node = node_for("<p id='A'>puts foo</p>") expect(converter.convert(node)).to include "\n[[A]]\nputs foo" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
reverse_adoc-1.0.1 | spec/lib/reverse_adoc/converters/p_spec.rb |
reverse_adoc-1.0.0 | spec/lib/reverse_adoc/converters/p_spec.rb |