Sha256: 81a2ff607135575b58e8dde27f613e37400fce35326c4ce2ce686c3851dc8c5a
Contents?: true
Size: 314 Bytes
Versions: 2
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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
faml-0.8.1 | spec/render/filters/cdata_spec.rb |
faml-0.8.0 | spec/render/filters/cdata_spec.rb |