Add pre conditions to spec file.

This commit is contained in:
Jan Örnstedt 2014-06-13 14:09:37 +02:00
parent d8e6d603e7
commit 1bfd597c92

View file

@ -10,6 +10,18 @@ describe 'nginx::resource::upstream' do
:members => ['test'], :members => ['test'],
} }
end end
let :facts do
{
:osfamily => 'Debian',
:operatingsystem => 'debian',
}
end
let :pre_condition do
[
'include ::nginx::params',
'include ::nginx::config',
]
end
describe 'os-independent items' do describe 'os-independent items' do