diff --git a/test/integration/helpers/serverspec/multi_spec.rb b/test/integration/helpers/serverspec/multi_spec.rb index 983c0a7..ee37abd 100644 --- a/test/integration/helpers/serverspec/multi_spec.rb +++ b/test/integration/helpers/serverspec/multi_spec.rb @@ -182,6 +182,11 @@ shared_examples 'multi::init' do |es_version,plugins| describe command('curl -s localhost:9201/_nodes/plugins?pretty=true | grep '+plugin) do its(:exit_status) { should eq 0 } end + + describe file('/usr/share/elasticsearch/plugins/'+plugin) do + it { should be_directory } + it { should be_owned_by 'elasticsearch' } + end end describe file('/etc/init.d/elasticsearch') do