Sha256: 5ff354985bd62835480200ef46c991e74a0d824b20557f744eaebe4d2c15a399
Contents?: true
Size: 331 Bytes
Versions: 41
Compression:
Stored size: 331 Bytes
Contents
require 'spec_helper' RSpec.describe 'Preserve rendering', type: :render do it 'parses preserved script' do expect(render_string('~ "<p>hello\nworld</p>"')).to eq("<p>hello\nworld</p>\n") expect(render_string('%span~ "<p>hello\nworld</p>"')).to eq("<span><p>hello\nworld</p></span>\n") end end
Version data entries
41 entries across 41 versions & 2 rubygems