2016-05-17 15:21:37 +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
|
|
|
|
it 'shouldn\'t register without a config' do
|
2016-05-17 15:21:37 +00:00
|
|
|
expect do
|
|
|
|
LogStash::Plugin.lookup('output', 'jdbc').new
|
|
|
|
end.to raise_error(LogStash::ConfigurationError)
|
2015-11-22 23:19:29 +00:00
|
|
|
end
|
2015-11-18 10:06:11 +00:00
|
|
|
end
|
|
|
|
end
|