Sha256: 95f72c6f18835291c2192cea27ddcfc68b890121b050218bcca7bc4751ea0719
Contents?: true
Size: 314 Bytes
Versions: 9
Compression:
Stored size: 314 Bytes
Contents
# frozen-string-literal: true require 'spec_helper' RSpec.describe 'CDATA filter rendering', type: :render do it 'renders CDATA filter' do expect(render_string(<<'HAML')).to eq("<![CDATA[\n hello\n world\n <span>hello</span>\n]]>\n") :cdata hello #{'world'} <span>hello</span> HAML end end
Version data entries
9 entries across 9 versions & 1 rubygems