2016-05-03 14:55:36 +00:00
|
|
|
require_relative "../jdbc_spec_helper"
|
2015-11-18 10:06:11 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2015-11-18 10:06:11 +00:00
|
|
|
end
|
|
|
|
end
|