
This class helps manage zaqar transport settings for wsgi. Change-Id: I668ecc79f1684438beff620394711c6bb8f2cc34
24 lines
473 B
Ruby
24 lines
473 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'zaqar::transport::wsgi' do
|
|
|
|
let :facts do
|
|
{ :osfamily => 'RedHat' }
|
|
end
|
|
|
|
describe 'with custom values' do
|
|
let :params do
|
|
{
|
|
:bind => '1',
|
|
:port => '2',
|
|
}
|
|
end
|
|
|
|
it 'configures custom values' do
|
|
is_expected.to contain_zaqar_config('drivers:transport:wsgi/bind').with_value('1')
|
|
is_expected.to contain_zaqar_config('drivers:transport:wsgi/port').with_value('2')
|
|
end
|
|
end
|
|
|
|
end
|