spec/inputs/eventlog_spec.rb in logstash-input-eventlog-3.0.0 vs spec/inputs/eventlog_spec.rb in logstash-input-eventlog-3.0.1
- old
+ new
@@ -1,8 +1,12 @@
require "logstash/devutils/rspec/spec_helper"
-require 'logstash/inputs/eventlog'
-describe LogStash::Inputs::EventLog, :windows => true do
+describe "LogStash::Inputs::EventLog", :windows => true do
+
+ before(:all) do
+ require 'logstash/inputs/eventlog'
+ end
+
it_behaves_like "an interruptible input plugin" do
let(:config) { { "logfile" => "Application", "interval" => 10000000 } }
end
end