Skip to content

Commit

Permalink
test cases fixes
Browse files Browse the repository at this point in the history
Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>
  • Loading branch information
nikhil2611 committed Dec 13, 2023
1 parent 5675d97 commit a51a8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/command/generator_commands/repo_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a51a8b9

Please sign in to comment.