diff --git a/spec/unit/type/cloudkitty_api_uwsgi_config_spec.rb b/spec/unit/type/cloudkitty_api_uwsgi_config_spec.rb index 3aaa06d..737dfe9 100644 --- a/spec/unit/type/cloudkitty_api_uwsgi_config_spec.rb +++ b/spec/unit/type/cloudkitty_api_uwsgi_config_spec.rb @@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:cloudkitty_api_uwsgi_config)' do expect(@cloudkitty_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 @cloudkitty_api_uwsgi_config[:value] = 'b ar' expect(@cloudkitty_api_uwsgi_config[:value]).to eq('b ar') end diff --git a/spec/unit/type/cloudkitty_config_spec.rb b/spec/unit/type/cloudkitty_config_spec.rb index e1b227b..5cb0279 100644 --- a/spec/unit/type/cloudkitty_config_spec.rb +++ b/spec/unit/type/cloudkitty_config_spec.rb @@ -32,7 +32,7 @@ describe 'Puppet::Type.type(:cloudkitty_config)' do expect(@cloudkitty_config[:value]).to eq(['bar']) end - it 'should not accept a value with whitespace' do + it 'should accept a value with whitespace' do @cloudkitty_config[:value] = 'b ar' expect(@cloudkitty_config[:value]).to eq(['b ar']) end