spec/inputs/example_spec.rb in logstash-input-example-0.1.2 vs spec/inputs/example_spec.rb in logstash-input-example-2.0.1
- old
+ new
@@ -1,9 +1,18 @@
-require "logstash/devutils/rspec/spec_helper"
\ No newline at end of file
+require "logstash/devutils/rspec/spec_helper"
+require "logstash/inputs/example"
+
+describe LogStash::Inputs::Example do
+
+ it_behaves_like "an interruptible input plugin" do
+ let(:config) { { "interval" => 100 } }
+ end
+
+end