From 84591e2dbfb27b4848343813e2a24c5d792f262e Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 15 Jul 2022 11:57:19 +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: I4fb445a86398abc0f7b060c6d28cf94cbb2d0b3d --- spec/unit/type/zaqar_config_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/type/zaqar_config_spec.rb b/spec/unit/type/zaqar_config_spec.rb index 03a70be..8fed417 100644 --- a/spec/unit/type/zaqar_config_spec.rb +++ b/spec/unit/type/zaqar_config_spec.rb @@ -32,7 +32,7 @@ describe 'Puppet::Type.type(:zaqar_config)' do expect(@zaqar_config[:value]).to eq(['bar']) end - it 'should not accept a value with whitespace' do + it 'should accept a value with whitespace' do @zaqar_config[:value] = 'b ar' expect(@zaqar_config[:value]).to eq(['b ar']) end