# 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("start\nhello\n <p>world</p>\n<span>hello</span>\n\nend\n") %span start :escaped hello #{'
world
'} hello %span end HAML end end