# encoding: utf-8 require 'spec_helper' module Gherkin module Lexer shared_examples_for "a Gherkin lexer lexing py_strings" do def scan(gherkin) @lexer.scan(gherkin, "test.feature", 0) end def ps(content) '"""%s"""' % ("\n" + content + "\n") end it "should provide the amount of indentation of the triple quotes to the listener" do str = <