Sha256: 6cb107972a817a98345927dc695b8fcb62bee4d0a1a1be8bcffe8798dddcf41f

Contents?: true

Size: 516 Bytes

Versions: 263

Compression:

Stored size: 516 Bytes

Contents

#encoding: utf-8
require 'spec_helper'

module Gherkin
  module Lexer
    shared_examples_for "parsing windows files" do
      describe "with BOM" do
        it "should work just fine" do
          scan_file("with_bom.feature")
          @listener.to_sexp.should == [
            [:feature, "Feature", "Feature Text", "", 1],
            [:scenario, "Scenario", "Reading a Scenario", "", 2],
            [:step, "Given ", "there is a step", 3],
            [:eof]
          ]
        end
      end
    end
  end
end

Version data entries

263 entries across 260 versions & 8 rubygems

Version Path
candlepin-api-0.4.0 bundle/ruby/1.8/gems/gherkin-2.11.1/spec/gherkin/shared/bom_group.rb
candlepin-api-0.4.0 bundle/ruby/gems/gherkin-2.11.1/spec/gherkin/shared/bom_group.rb
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/gherkin-2.11.1/spec/gherkin/shared/bom_group.rb
gherkin-2.11.3 spec/gherkin/shared/bom_group.rb
gherkin-2.11.3-x86-mswin32 spec/gherkin/shared/bom_group.rb
gherkin-2.11.3-x86-mingw32 spec/gherkin/shared/bom_group.rb
gherkin-2.11.3-java spec/gherkin/shared/bom_group.rb
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/gherkin-2.11.1/spec/gherkin/shared/bom_group.rb
gherkin-2.11.2 spec/gherkin/shared/bom_group.rb
gherkin-2.11.2-x86-mswin32 spec/gherkin/shared/bom_group.rb
gherkin-2.11.2-x86-mingw32 spec/gherkin/shared/bom_group.rb
gherkin-2.11.2-java spec/gherkin/shared/bom_group.rb
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/gherkin-2.11.1/spec/gherkin/shared/bom_group.rb
bryanl-gherkin-2.11.1.1-java spec/gherkin/shared/bom_group.rb
bryanl-gherkin-2.11.1.1 spec/gherkin/shared/bom_group.rb
gherkin-2.11.1 spec/gherkin/shared/bom_group.rb
gherkin-2.11.1-x86-mswin32 spec/gherkin/shared/bom_group.rb
gherkin-2.11.1-x86-mingw32 spec/gherkin/shared/bom_group.rb
gherkin-2.11.1-java spec/gherkin/shared/bom_group.rb
gherkin-2.11.0 spec/gherkin/shared/bom_group.rb