diff --git a/spec/unit/type/aodh_api_uwsgi_config_spec.rb b/spec/unit/type/aodh_api_uwsgi_config_spec.rb index 29c72208..2f5e9e1f 100644 --- a/spec/unit/type/aodh_api_uwsgi_config_spec.rb +++ b/spec/unit/type/aodh_api_uwsgi_config_spec.rb @@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:aodh_api_uwsgi_config)' do expect(@aodh_api_uwsgi_config[:value]).to eq('bar') end - it 'should not accept a value with whitespace' do + it 'should accept a value with whitespace' do @aodh_api_uwsgi_config[:value] = 'b ar' expect(@aodh_api_uwsgi_config[:value]).to eq('b ar') end diff --git a/spec/unit/type/aodh_config_spec.rb b/spec/unit/type/aodh_config_spec.rb index 47aaa32b..76fc6fce 100644 --- a/spec/unit/type/aodh_config_spec.rb +++ b/spec/unit/type/aodh_config_spec.rb @@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:aodh_config)' do expect(@aodh_config[:value]).to eq(['bar']) end - it 'should not accept a value with whitespace' do + it 'should accept a value with whitespace' do @aodh_config[:value] = 'b ar' expect(@aodh_config[:value]).to eq(['b ar']) end