Sha256: 23f5676a943e8ce1d725e762d707ed39a96d4d9df64d13c23ea33ecd6e4f515c
Contents?: true
Size: 590 Bytes
Versions: 36
Compression:
Stored size: 590 Bytes
Contents
describe Hamlit::Filters::Css do describe '#compile' do it 'renders css' do assert_render(<<-HAML, <<-HTML) :css .foo { width: 100px; } HAML <style> .foo { width: 100px; } </style> HTML end it 'parses string interpolation' do assert_render(<<-'HAML', <<-HTML) :css .foo { width: #{100 * 3}px; } HAML <style> .foo { width: 300px; } </style> HTML end end end
Version data entries
36 entries across 36 versions & 1 rubygems