Sha256: 6c78468e274739f47c825b19089c4cb6535d0fc766129036ebb810201fbf8239

Contents?: true

Size: 290 Bytes

Versions: 1

Compression:

Stored size: 290 Bytes

Contents

# -*- encoding: utf-8 -*-

require './spec/helper'

describe "Haml expectations" do

  before :all do
    Haml::Options.defaults[:format] = :xhtml
  end

  it "should accept and close the genit tag" do
    e = Haml::Engine.new("%genit")
    e.render.should == "<genit></genit>\n"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
genit-2.1 spec/haml_spec.rb