diff --git a/spec/unit/type/watcher_config_spec.rb b/spec/unit/type/watcher_config_spec.rb index 7d43027..3e239d2 100644 --- a/spec/unit/type/watcher_config_spec.rb +++ b/spec/unit/type/watcher_config_spec.rb @@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:watcher_config)' do expect(@watcher_config[:value]).to eq(['bar']) end - it 'should not accept a value with whitespace' do + it 'should accept a value with whitespace' do @watcher_config[:value] = 'b ar' expect(@watcher_config[:value]).to eq(['b ar']) end