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
HTML
end
it 'renders sass filter with string interpolation' do
assert_render(<<-'HAML', <<-HTML, compatible_only: :haml)
:sass
.users_controller
.show_action
content: "#{'<&>'}"
HAML
HTML
end
end
end