logstash-output-jdbc/spec/outputs/jdbc_spec.rb
2016-05-03 15:55:36 +01:00

14 lines
303 B
Ruby

require_relative "../jdbc_spec_helper"
describe LogStash::Outputs::Jdbc do
context 'when initializing' do
it 'shouldn\'t register without a config' do
expect {
LogStash::Plugin.lookup("output", "jdbc").new()
}.to raise_error(LogStash::ConfigurationError)
end
end
end