# frozen-string-literal: true require 'spec_helper' RSpec.describe 'Preserve rendering', type: :render do it 'parses preserved script' do expect(render_string('~ "

hello\nworld

"')).to eq("<p>hello\nworld</p>\n") expect(render_string('%span~ "

hello\nworld

"')).to eq("<p>hello\nworld</p>\n") end end