mirror of
https://github.com/elastic/logstash.git
synced 2025-04-25 07:07:54 -04:00
parent
e22868db52
commit
b9039dcb57
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ shared_examples "logstash list" do |logstash|
|
||||||
result = logstash.run_command_in_path("bin/logstash-plugin list --verbose")
|
result = logstash.run_command_in_path("bin/logstash-plugin list --verbose")
|
||||||
|
|
||||||
stdout = StringIO.new(result.stdout)
|
stdout = StringIO.new(result.stdout)
|
||||||
|
stdout.set_encoding(Encoding::UTF_8)
|
||||||
while line = stdout.gets
|
while line = stdout.gets
|
||||||
expect(line).to match(/^#{plugin_name_with_version}$/)
|
expect(line).to match(/^#{plugin_name_with_version}$/)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue