mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
parent
938dbfca77
commit
2d7ebd1999
1 changed files with 9 additions and 0 deletions
|
@ -85,6 +85,15 @@ describe LogStash::Plugin do
|
|||
one_notice.validate({})
|
||||
end
|
||||
|
||||
it "warns the user if we can't find a defined version" do
|
||||
expect_any_instance_of(Cabin::Channel).to receive(:warn)
|
||||
.once
|
||||
.with(/plugin doesn't have a version/)
|
||||
|
||||
subject.validate({})
|
||||
end
|
||||
|
||||
|
||||
it 'logs an error if the plugin use the milestone option' do
|
||||
expect_any_instance_of(Cabin::Channel).to receive(:error)
|
||||
.with(/stromae plugin is using the 'milestone' method/)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue