Skip to content

Commit

Permalink
add ordering test for pligin defined resource
Browse files Browse the repository at this point in the history
  • Loading branch information
shamil committed Dec 30, 2020
1 parent c99f72b commit a902899
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion spec/defines/004_elasticsearch_plugin_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,13 @@ class { 'elasticsearch': }
'Class[elasticsearch::config]'
)}

include_examples('class')
it { should contain_elasticsearch_plugin(
'head'
).that_comes_before(
'Service[elasticsearch]'
)}

include_examples 'class'
end
end
end
Expand Down

0 comments on commit a902899

Please sign in to comment.