Sha256: 22ae9cff8bb471bc2e951238e1b29b08da178ec1488a4bd417367d56be3cf5a4
Contents?: true
Size: 851 Bytes
Versions: 12
Compression:
Stored size: 851 Bytes
Contents
describe Hamlit::Filters::Scss do describe '#compile' do it 'renders scss filter' do assert_render(<<-HAML, <<-HTML, compatible_only: :haml) :scss .users_controller { .show_action { margin: 10px; padding: 20px; } } HAML <style> .users_controller .show_action { margin: 10px; padding: 20px; } </style> HTML end it 'parses string interpolation' do assert_render(<<-'HAML', <<-HTML, compatible_only: :haml) :scss .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