Sha256: f69e1b650377e512a67fda4a9f81d8e940f1b5fc0cac91c9f6889ed4336929f4
Contents?: true
Size: 806 Bytes
Versions: 12
Compression:
Stored size: 806 Bytes
Contents
describe Hamlit::Filters::Sass do describe '#compile' do it 'renders sass filter' do assert_render(<<-HAML, <<-HTML, compatible_only: :haml) :sass .users_controller .show_action margin: 10px padding: 20px HAML <style> .users_controller .show_action { margin: 10px; padding: 20px; } </style> HTML end it 'renders sass filter with string interpolation' do assert_render(<<-'HAML', <<-HTML, compatible_only: :haml) :sass .users_controller .show_action content: "#{'<&>'}" HAML <style> .users_controller .show_action { content: "<&>"; } </style> HTML end end end
Version data entries
12 entries across 12 versions & 1 rubygems