logstash-output-jdbc/spec/outputs/jdbc_spec.rb

14 lines
303 B
Ruby
Raw Normal View History

2016-05-03 14:55:36 +00:00
require_relative "../jdbc_spec_helper"
describe LogStash::Outputs::Jdbc do
2016-04-11 17:11:52 +00:00
context 'when initializing' do
2015-11-22 23:19:29 +00:00
2016-04-11 17:11:52 +00:00
it 'shouldn\'t register without a config' do
expect {
LogStash::Plugin.lookup("output", "jdbc").new()
}.to raise_error(LogStash::ConfigurationError)
2015-11-22 23:19:29 +00:00
end
end
end