Sha256: 17d3b9a3490a21da9a1b55389d59a38edb1886114caa22e38710160bdd768f64
Contents?: true
Size: 458 Bytes
Versions: 10
Compression:
Stored size: 458 Bytes
Contents
require 'spec_helper' RSpec.describe 'Plain filter rendering', type: :render do it 'renders plain filter' do expect(render_string(<<'HAML')).to eq("<span>\nhello\n<span>world</span>\n</span>\n") %span :plain he#{'llo'} %span world HAML end it 'strips last empty lines' do expect(render_string(<<'HAML')).to eq("<span>\nhello\n\nabc\n<span>world</span>\n</span>\n") %span :plain he#{'llo'} abc %span world HAML end end
Version data entries
10 entries across 10 versions & 1 rubygems