From a51a8b962cfeecd370a5a9cd0445197c667a92d0 Mon Sep 17 00:00:00 2001 From: nikhil2611 Date: Thu, 14 Dec 2023 00:38:25 +0530 Subject: [PATCH] test cases fixes Signed-off-by: nikhil2611 --- spec/unit/command/generator_commands/repo_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/command/generator_commands/repo_spec.rb b/spec/unit/command/generator_commands/repo_spec.rb index 86499b83..77fec47e 100644 --- a/spec/unit/command/generator_commands/repo_spec.rb +++ b/spec/unit/command/generator_commands/repo_spec.rb @@ -256,7 +256,7 @@ def generator_context let(:file) { "cookbooks/example/recipes/default.rb" } it "has the right contents" do - expect(file_contents).to match(/log "Welcome to Chef Infra Client, \#\{node\['example'\]\['name'\]\}!" do/) + expect(file_contents).to match(/log "Welcome to Chef Infra Client, \#\{node\["example"\]\["name"\]\}!" do/) end end end