Sha256: 9f852537a9ec517bd18ddba384269afd3f9f0c8d5f7d5d8ba7e9bc3655b0e40a

Contents?: true

Size: 394 Bytes

Versions: 16

Compression:

Stored size: 394 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

describe DocTemplate::Tags::DialogueTag 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/dialogue_tag_spec.rb
lcms-engine-0.5.4 spec/lib/doc_template/tags/dialogue_tag_spec.rb
lcms-engine-0.5.3 spec/lib/doc_template/tags/dialogue_tag_spec.rb
lcms-engine-0.5.2 spec/lib/doc_template/tags/dialogue_tag_spec.rb
lcms-engine-0.5.1 spec/lib/doc_template/tags/dialogue_tag_spec.rb
lcms-engine-0.5.0 spec/lib/doc_template/tags/dialogue_tag_spec.rb
lcms-engine-0.4.2 spec/lib/doc_template/tags/dialogue_tag_spec.rb
lcms-engine-0.4.1 spec/lib/doc_template/tags/dialogue_tag_spec.rb
lcms-engine-0.4.0 spec/lib/doc_template/tags/dialogue_tag_spec.rb
lcms-engine-0.3.1 spec/lib/doc_template/tags/dialogue_tag_spec.rb
lcms-engine-0.1.4 spec/lib/doc_template/tags/dialogue_tag_spec.rb
lcms-engine-0.3.0 spec/lib/doc_template/tags/dialogue_tag_spec.rb
lcms-engine-0.1.3 spec/lib/doc_template/tags/dialogue_tag_spec.rb
lcms-engine-0.2.0 spec/lib/doc_template/tags/dialogue_tag_spec.rb
lcms-engine-0.1.2 spec/lib/doc_template/tags/dialogue_tag_spec.rb
lcms-engine-0.1.0 spec/lib/doc_template/tags/dialogue_tag_spec.rb