Sha256: da28fbf8674a63daf1996bde54654f7349fc188f6e238a4e78626207a7db0851

Contents?: true

Size: 391 Bytes

Versions: 16

Compression:

Stored size: 391 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

describe DocTemplate::Tags::VocabTag do
  let(:node) do
    html = Nokogiri::HTML original_content
    html.at_xpath('*//p')
  end
  let(:stop_tag) { "#{described_class::TAG_NAME}: #{described_class::END_VALUE}" }
  let(:tag) { described_class.new }
  subject { tag.parse(node, value: '').content }

  it_behaves_like 'content_tag'
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
lcms-engine-0.5.5 spec/lib/doc_template/tags/vocab_tag_spec.rb
lcms-engine-0.5.4 spec/lib/doc_template/tags/vocab_tag_spec.rb
lcms-engine-0.5.3 spec/lib/doc_template/tags/vocab_tag_spec.rb
lcms-engine-0.5.2 spec/lib/doc_template/tags/vocab_tag_spec.rb
lcms-engine-0.5.1 spec/lib/doc_template/tags/vocab_tag_spec.rb
lcms-engine-0.5.0 spec/lib/doc_template/tags/vocab_tag_spec.rb
lcms-engine-0.4.2 spec/lib/doc_template/tags/vocab_tag_spec.rb
lcms-engine-0.4.1 spec/lib/doc_template/tags/vocab_tag_spec.rb
lcms-engine-0.4.0 spec/lib/doc_template/tags/vocab_tag_spec.rb
lcms-engine-0.3.1 spec/lib/doc_template/tags/vocab_tag_spec.rb
lcms-engine-0.1.4 spec/lib/doc_template/tags/vocab_tag_spec.rb
lcms-engine-0.3.0 spec/lib/doc_template/tags/vocab_tag_spec.rb
lcms-engine-0.1.3 spec/lib/doc_template/tags/vocab_tag_spec.rb
lcms-engine-0.2.0 spec/lib/doc_template/tags/vocab_tag_spec.rb
lcms-engine-0.1.2 spec/lib/doc_template/tags/vocab_tag_spec.rb
lcms-engine-0.1.0 spec/lib/doc_template/tags/vocab_tag_spec.rb