Sha256: c78d3d0fc5f219f79196f0a215dbb63551fe8cd2a0672e7b9016441239c53552

Contents?: true

Size: 573 Bytes

Versions: 4

Compression:

Stored size: 573 Bytes

Contents

#encoding: utf-8
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
require 'gherkin/rb_lexer'
require 'gherkin/rb_lexer/en'

module Gherkin
  module Lexer
    describe "Ruby Lexer" do
      before do
        @listener = Gherkin::SexpRecorder.new
        @lexer = Gherkin::RbLexer::En.new(@listener)
      end

      it_should_behave_like "a Gherkin lexer"
      it_should_behave_like "a Gherkin lexer lexing tags"
      it_should_behave_like "a Gherkin lexer lexing py_strings"
      it_should_behave_like "a Gherkin lexer lexing rows"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gherkin-1.0.3-i386-mswin32 spec/gherkin/rb_lexer_spec.rb
gherkin-1.0.3-i386-mingw32 spec/gherkin/rb_lexer_spec.rb
gherkin-1.0.3-java spec/gherkin/rb_lexer_spec.rb
gherkin-1.0.3 spec/gherkin/rb_lexer_spec.rb