Force acceptance test ordering with require and before

This commit is contained in:
Travis Fields 2015-02-09 16:07:47 -08:00
parent 8e2689bdbb
commit 4dfb8e1089

View file

@ -65,6 +65,7 @@ describe 'ini_subsetting resource' do
setting => 'key',
subsetting => 'beta',
value => 'trons',
require => Ini_subsetting['ensure => present for alpha'],
}
EOS
@ -133,6 +134,7 @@ describe 'ini_subsetting resource' do
subsetting => 'twine',
value => 'three',
path => "#{tmpdir}/subsetting_separator.ini",
before => Ini_subsetting['foobar'],
#{parameter}
}
ini_subsetting { "foobar":