From 619f350c56efbb20406d1ac53f76c26233b339e0 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 15 Jul 2022 11:55:54 +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: I2d6be785a3e94355899d381cbdeba048a4f80a0f --- spec/unit/type/tempest_config_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/type/tempest_config_spec.rb b/spec/unit/type/tempest_config_spec.rb index 88c8f5e2..10bdd18e 100644 --- a/spec/unit/type/tempest_config_spec.rb +++ b/spec/unit/type/tempest_config_spec.rb @@ -33,7 +33,7 @@ describe 'Puppet::Type.type(:tempest_config)' do expect(@tempest_config[:value]).to eq('bar') end - it 'should not accept a value with whitespace' do + it 'should accept a value with whitespace' do @tempest_config[:value] = 'b ar' expect(@tempest_config[:value]).to eq('b ar') end