Sha256: b17a8db7ce0688fe2502bc474b987639c39d8c576f8261aa3ef5b214f999f21d

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 Bytes

Contents

require 'spec_helper'

module Hemingway

  describe Parser do

    before do
      @parser = Parser.new
    end

    describe "#block" do

      it "should only parse blocks with matching begin and end tags" do
        @parser.parse("\\begin{itemize} \\item hey \\end{description}").should be_nil
      end

    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hemingway-0.0.2 spec/nodes/block_spec.rb