Have to start some real work. Will complete tests over lunch.
This commit is contained in:
13
spec/outputs/jdbc_spec.rb
Normal file
13
spec/outputs/jdbc_spec.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
require "logstash/devutils/rspec/spec_helper"
|
||||
require "logstash/outputs/jdbc"
|
||||
require "stud/temporary"
|
||||
|
||||
describe LogStash::Outputs::Jdbc do
|
||||
|
||||
it "should register without errors" do
|
||||
plugin = LogStash::Plugin.lookup("output", "jdbc").new({})
|
||||
expect { plugin.register }.to_not raise_error
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user