Sha256: 2da95bee540b95277cf8907c529453334347bb2218d65568b5848b581a09c74b
Contents?: true
Size: 397 Bytes
Versions: 9
Compression:
Stored size: 397 Bytes
Contents
# frozen-string-literal: true require 'spec_helper' RSpec.describe 'Escaped filter rendering', type: :render do it ' renders escaped filter' do expect(render_string(<<'HAML')).to eq("<span>start</span>\nhello\n <p>world</p>\n<span>hello</span>\n\n<span>end</span>\n") %span start :escaped hello #{'<p>world</p>'} <span>hello</span> %span end HAML end end
Version data entries
9 entries across 9 versions & 1 rubygems