#encoding: utf-8 require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') module Gherkin module Lexer describe "Ruby Lexer" do before do @listener = Gherkin::SexpRecorder.new @lexer = Gherkin::Lexer.rb['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 tables" end end end