Sha256: 97d53decd9c8bf046c300e6a4145259fdb1bf63712a481af0273850f7bf9d3e9

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

shared_context "execution_context" do
  let(:pipeline) { double("pipeline") }
  let(:pipeline_id) { :main }
  let(:agent) { double("agent") }
  let(:execution_context) do
    ::LogStash::ExecutionContext.new(pipeline, agent)
  end
  
  before do
    allow(pipeline).to receive(:pipeline_id).and_return(pipeline_id)
    allow(pipeline).to receive(:agent).and_return(agent)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logstash-core-6.0.0.alpha1-java spec/support/shared_contexts.rb