From 2006eba593870296cf36ef7fec282bd70be6f27c Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 15 Jul 2022 11:57:01 +0900 Subject: [PATCH] Fix wrong test description The value with a white space should be accepted instead of being rejected. This change fixes the wrong test case description and makes sure the description explains what is actually tested. Change-Id: Ibe1a44f9e63c7c210955942d70c0f485c3883852 --- spec/unit/type/watcher_config_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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