spec/kitchen/provisioner/chef_solo_spec.rb in test-kitchen-1.5.0.rc.1 vs spec/kitchen/provisioner/chef_solo_spec.rb in test-kitchen-1.5.0

- old
+ new

@@ -422,9 +422,22 @@ it "sets logfile flag for custom value" do config[:log_file] = "/a/out.log" cmd.must_match regexify(" --logfile /a/out.log", :partial_line) end + + it "sets profile-ruby flag when config element is set" do + config[:profile_ruby] = true + + cmd.must_match regexify( + " --profile-ruby", :partial_line) + end + + it "does not set profile-ruby flag when config element is falsey" do + config[:profile_ruby] = false + + cmd.wont_match regexify(" --profile-ruby", :partial_line) + end end describe "for powershell shells on windows os types" do before do