Sha256: bbc7eb2a9878a048b3486623286fcf93fe40da9162471c31d35b674b890c2611
Contents?: true
Size: 366 Bytes
Versions: 31
Compression:
Stored size: 366 Bytes
Contents
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
31 entries across 31 versions & 2 rubygems