Add pre conditions to spec file.
This commit is contained in:
parent
d8e6d603e7
commit
1bfd597c92
1 changed files with 12 additions and 0 deletions
|
@ -10,6 +10,18 @@ describe 'nginx::resource::upstream' do
|
|||
:members => ['test'],
|
||||
}
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue