mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
parent
26c5a5ff61
commit
b233a34ce9
1 changed files with 1 additions and 3 deletions
|
@ -3,9 +3,7 @@ require "spec_helper"
|
|||
require "logstash/bundler"
|
||||
|
||||
describe LogStash::Bundler do
|
||||
|
||||
context "capture_stdout" do
|
||||
|
||||
it "should capture stdout from block" do
|
||||
original_stdout = $stdout
|
||||
output, exception = LogStash::Bundler.capture_stdout do
|
||||
|
@ -54,7 +52,7 @@ describe LogStash::Bundler do
|
|||
|
||||
it 'should call Bundler::CLI.start with the correct arguments' do
|
||||
expect(::Bundler::CLI).to receive(:start).with(bundler_args)
|
||||
subject
|
||||
LogStash::Bundler.invoke_bundler!(options)
|
||||
end
|
||||
|
||||
context 'abort with an exception' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue