Include ci/reporter so bin/rpsec works for me.

Fixes #4820
This commit is contained in:
Jordan Sissel 2016-05-06 10:18:53 -07:00
parent f241dd808e
commit 07887f8cf7

View file

@ -7,6 +7,7 @@ $LOAD_PATH.unshift(File.join(LogStash::Environment::LOGSTASH_CORE, "spec"))
require "rspec/core"
require "rspec"
require 'ci/reporter/rake/rspec_loader'
status = RSpec::Core::Runner.run(ARGV.empty? ? ["spec"] : ARGV).to_i
exit status if status != 0