summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2016-02-25 17:37:14 -0800
committerJay Mundrawala <jdmundrawala@gmail.com>2016-02-25 17:37:14 -0800
commit4ec761fd674aabe7d766a3017c03a328d1164777 (patch)
treee4825b2cc55578b366454e47627e6973051356ec
parentc3b1ebd844a2a5dac53f40fed8c94aae6d0ae5e7 (diff)
downloadchef-4ec761fd674aabe7d766a3017c03a328d1164777.tar.gz
Use the correct path separator
-rw-r--r--acceptance/fips/test/integration/fips/serverspec/fips_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/acceptance/fips/test/integration/fips/serverspec/fips_spec.rb b/acceptance/fips/test/integration/fips/serverspec/fips_spec.rb
index f7b8010232..4bc158f16b 100644
--- a/acceptance/fips/test/integration/fips/serverspec/fips_spec.rb
+++ b/acceptance/fips/test/integration/fips/serverspec/fips_spec.rb
@@ -29,9 +29,9 @@ describe "Chef Fips Specs" do
it "passes the unit and functional specs" do
Bundler.with_clean_env do
ruby_cmd = Mixlib::ShellOut.new(
- "bundle exec rspec -t ~requires_git spec/unit spec/functional", :env => { "PATH" => "#{ENV['PATH']}:#{path}",
+ "bundle exec rspec -t ~requires_git spec/unit spec/functional", :env => { "PATH" => [ENV['PATH'], path].join(File::PATH_SEPARATOR),
"GEM_PATH" => nil, "GEM_CACHE" => nil, "GEM_HOME" => nil,
- "CHEF_FIPS" => "1" },
+ "CHEF_FIPS" => "1"},
:live_stream => STDOUT, :cwd => chef_dir, :timeout => 3600)
expect { ruby_cmd.run_command.error! }.not_to raise_exception
end