Sha256: 1eaa73e81cce65a2908337fe3e6c38b4103e069d9fe93b3da2d81696b36cd777
Contents?: true
Size: 402 Bytes
Versions: 16
Compression:
Stored size: 402 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' describe DocTemplate::Tags::WhitePlaceholderTag 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