Sha256: 0b31fb94565aa526a318f61d55505f226a8e04382a153512934ab09041772fe2

Contents?: true

Size: 552 Bytes

Versions: 233

Compression:

Stored size: 552 Bytes

Contents

#encoding: utf-8
require 'spec_helper'
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 doc_strings"
      it_should_behave_like "a Gherkin lexer lexing rows"
      it_should_behave_like "parsing windows files"
    end
  end
end

Version data entries

233 entries across 230 versions & 8 rubygems

Version Path
candlepin-api-0.4.0 bundle/ruby/gems/gherkin-2.11.1/spec/gherkin/rb_lexer_spec.rb
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/gherkin-2.11.1/spec/gherkin/rb_lexer_spec.rb
candlepin-api-0.4.0 bundle/ruby/1.8/gems/gherkin-2.11.1/spec/gherkin/rb_lexer_spec.rb
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/gherkin-2.11.1/spec/gherkin/rb_lexer_spec.rb
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/gherkin-2.11.1/spec/gherkin/rb_lexer_spec.rb
bryanl-gherkin-2.11.1.1-java spec/gherkin/rb_lexer_spec.rb
bryanl-gherkin-2.11.1.1 spec/gherkin/rb_lexer_spec.rb
gherkin-2.11.1 spec/gherkin/rb_lexer_spec.rb
gherkin-2.11.1-x86-mswin32 spec/gherkin/rb_lexer_spec.rb
gherkin-2.11.1-x86-mingw32 spec/gherkin/rb_lexer_spec.rb
gherkin-2.11.1-java spec/gherkin/rb_lexer_spec.rb
gherkin-2.11.0 spec/gherkin/rb_lexer_spec.rb
gherkin-2.11.0-x86-mswin32 spec/gherkin/rb_lexer_spec.rb
gherkin-2.11.0-x86-mingw32 spec/gherkin/rb_lexer_spec.rb
gherkin-2.11.0-java spec/gherkin/rb_lexer_spec.rb
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/rb_lexer_spec.rb
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/gherkin-2.9.0/spec/gherkin/rb_lexer_spec.rb
ftl-0.2.0 vendor/bundle/gems/gherkin-2.10.0/spec/gherkin/rb_lexer_spec.rb
gherkin-2.10.0 spec/gherkin/rb_lexer_spec.rb
gherkin-2.10.0-x86-mswin32 spec/gherkin/rb_lexer_spec.rb