logstash/qa/rspec/matchers/be_running.rb
Pier-Hugues Pellerin eed32abb3d Migration of the CLI script to run under Vagrant VMs.
This is the First pass to add the `integration` test for the CLI, the
Logstash and the logstash-plugin command.

Fixes #5259

Fixes #5350
2016-06-02 14:37:16 +00:00

9 lines
197 B
Ruby

# encoding: utf-8
require 'rspec/expectations'
require_relative '../helpers'
RSpec::Matchers.define :be_running do
match do |subject|
subject.running?(subject.hosts, subject.name)
end
end