Sha256: 44f66636f66bc05ae4571af860bbf9faed80dd33591d25ed04687f1e74b4e982
Contents?: true
Size: 454 Bytes
Versions: 31
Compression:
Stored size: 454 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
31 entries across 31 versions & 2 rubygems