Sha256: 4c8a414d4825ed97e7e71d69bc905f0a033e0b80064934f562e074179ded9c35

Contents?: true

Size: 445 Bytes

Versions: 25

Compression:

Stored size: 445 Bytes

Contents

require 'rspec'
require 'gherkin/stream/subprocess_message_stream'

module Gherkin
  module Stream
    describe SubprocessMessageStream do
      it "works" do
        cucumber_messages = SubprocessMessageStream.new(
          "./bin/gherkin",
          ["testdata/good/minimal.feature"],
          true, true, true
        )
        messages = cucumber_messages.messages.to_a
        expect(messages.length).to eq(3)
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
cucumber-gherkin-18.1.1 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-18.1.0 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-18.0.0 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-17.0.2 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-17.0.1 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-17.0.0 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-16.0.0 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-15.0.2 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-15.0.1 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-15.0.0 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-14.2.0 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-14.1.0 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-14.0.1 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-14.0.0 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-13.0.0 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-12.0.0 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-11.0.0 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-10.0.0 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-9.2.0 spec/gherkin/stream/subprocess_message_stream_spec.rb
cucumber-gherkin-9.1.0 spec/gherkin/stream/subprocess_message_stream_spec.rb