Sha256: cee69476018d29702ac82e41d72be6a279950e663dcb9e33903e6e7c8a497e0f
Contents?: true
Size: 361 Bytes
Versions: 2
Compression:
Stored size: 361 Bytes
Contents
# frozen_string_literal: true 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
faml-0.8.1 | spec/render/preserve_spec.rb |
faml-0.8.0 | spec/render/preserve_spec.rb |