Sha256: 9f73b9d121d1ff871d3b977701e651314fd8a81ca9ab5e3b8123059b67bf5377

Contents?: true

Size: 171 Bytes

Versions: 9

Compression:

Stored size: 171 Bytes

Contents

require 'spec_helper'

describe Hexp::Node, 'to_html' do
  subject { Hexp::Node[:tt] }

  it 'should render HTML' do
    subject.to_html.should =~ %r{<tt></tt>}
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hexp-0.3.3 spec/unit/hexp/node/to_html_spec.rb
hexp-0.3.2 spec/unit/hexp/node/to_html_spec.rb
hexp-0.3.1 spec/unit/hexp/node/to_html_spec.rb
hexp-0.3.0 spec/unit/hexp/node/to_html_spec.rb
hexp-0.2.0 spec/unit/hexp/node/to_html_spec.rb
hexp-0.0.1 spec/unit/hexp/node/to_html_spec.rb
hexp-0.0.1.pre4 spec/unit/hexp/node/to_html_spec.rb
hexp-0.0.1.pre3 spec/unit/hexp/node/to_html_spec.rb
hexp-0.0.1.pre2 spec/unit/hexp/node/to_html_spec.rb