diff options
author | Pete Higgins <pete@peterhiggins.org> | 2020-07-09 13:11:45 -0700 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2020-07-09 13:11:45 -0700 |
commit | aac6fb11e18f6a2acb9304d36644868efdcc1acf (patch) | |
tree | eae10d67d2cda1aba18e29f152fb47da3388e082 | |
parent | 9d019c10ff1b953722c943ff1b87d3a25dff8191 (diff) | |
download | chef-fix-windows-bootstrap-context-test.tar.gz |
Fix chefstyle violation.fix-windows-bootstrap-context-test
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
-rw-r--r-- | spec/unit/knife/core/windows_bootstrap_context_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/knife/core/windows_bootstrap_context_spec.rb b/spec/unit/knife/core/windows_bootstrap_context_spec.rb index 627c275849..8c5c1d4da2 100644 --- a/spec/unit/knife/core/windows_bootstrap_context_spec.rb +++ b/spec/unit/knife/core/windows_bootstrap_context_spec.rb @@ -145,7 +145,7 @@ describe Chef::Knife::Core::WindowsBootstrapContext do describe "#start_chef" do it "returns the expected string" do - expect(bootstrap_context.start_chef).to match(%r{SET \"PATH=%SystemRoot%\\system32;%SystemRoot%;%SystemRoot%\\System32\\Wbem;%SYSTEMROOT%\\System32\\WindowsPowerShell\\v1.0\\;C:\\ruby\\bin;C:\\opscode\\chef\\bin;C:\\opscode\\chef\\embedded\\bin\;%PATH%\"\n}) + expect(bootstrap_context.start_chef).to match(/SET \"PATH=%SystemRoot%\\system32;%SystemRoot%;%SystemRoot%\\System32\\Wbem;%SYSTEMROOT%\\System32\\WindowsPowerShell\\v1.0\\;C:\\ruby\\bin;C:\\opscode\\chef\\bin;C:\\opscode\\chef\\embedded\\bin\;%PATH%\"\n/) end end |