Sha256: cd43663e732bdff0e4eba8b0a5c0982abb286535a59f160d18faf027e0f1e67c
Contents?: true
Size: 433 Bytes
Versions: 10
Compression:
Stored size: 433 Bytes
Contents
require 'spec_helper' describe ReverseAsciidoctor::Converters::Code do let(:converter) { ReverseAsciidoctor::Converters::Div.new } it 'converts div' do node = node_for("<div>puts foo</div>") expect(converter.convert(node)).to include "\nputs foo" end it 'converts div with anchor' do node = node_for("<div id='A'>puts foo</div>") expect(converter.convert(node)).to include "\n[[A]]\nputs foo" end end
Version data entries
10 entries across 10 versions & 2 rubygems