Skip to content

Commit a902899

Browse files
committed
add ordering test for pligin defined resource
1 parent c99f72b commit a902899

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

spec/defines/004_elasticsearch_plugin_spec.rb

+7-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,13 @@ class { 'elasticsearch': }
294294
'Class[elasticsearch::config]'
295295
)}
296296

297-
include_examples('class')
297+
it { should contain_elasticsearch_plugin(
298+
'head'
299+
).that_comes_before(
300+
'Service[elasticsearch]'
301+
)}
302+
303+
include_examples 'class'
298304
end
299305
end
300306
end

0 commit comments

Comments
 (0)