Sha256: ad8099af2d6073392ffc9d0fe32c32610de486a3bcf8b5d74ae2b0d8ef86d120
Contents?: true
Size: 419 Bytes
Versions: 5
Compression:
Stored size: 419 Bytes
Contents
# typed: false # frozen_string_literal: true require './spec/spec_setup' require 'lib/frontman/renderers/haml_renderer' describe Frontman::HamlRenderer do it 'should render HAML correctly' do compiled = Frontman::HamlRenderer.instance.compile('%h1#hello Hello!') expect(Frontman::HamlRenderer.instance.render_content(compiled, nil, Frontman::Context.new, {})).to eq "<h1 id='hello'>Hello!</h1>\n" end end
Version data entries
5 entries across 5 versions & 1 rubygems