Add spec tests
This commit is contained in:
parent
75422ccf78
commit
83ab19cdb9
1 changed files with 18 additions and 0 deletions
|
@ -124,6 +124,24 @@ describe 'nginx::config' do
|
|||
:value => false,
|
||||
:notmatch => /pid/,
|
||||
},
|
||||
{
|
||||
:title => 'should set accept_mutex on',
|
||||
:attr => 'accept_mutex',
|
||||
:value => 'on',
|
||||
:match => ' accept_mutex on;',
|
||||
},
|
||||
{
|
||||
:title => 'should set accept_mutex off',
|
||||
:attr => 'accept_mutex',
|
||||
:value => 'off',
|
||||
:match => ' accept_mutex off;',
|
||||
},
|
||||
{
|
||||
:title => 'should set accept_mutex_delay',
|
||||
:attr => 'accept_mutex_delay',
|
||||
:value => '500s',
|
||||
:match => ' accept_mutex_delay 500s;',
|
||||
},
|
||||
{
|
||||
:title => 'should set worker_connections',
|
||||
:attr => 'worker_connections',
|
||||
|
|
Loading…
Reference in a new issue