Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/ruby/shared/process/spawn.rb
Original file line number Diff line number Diff line change
@@ -255,7 +255,7 @@

it "does not unset environment variables included in the environment hash" do
lambda do
Process.wait @object.spawn({"FOO" => "BAR"}, ruby_cmd(fixture(__FILE__, "env.rb"), options: '--disable-gems'), unsetenv_others: true)
Process.wait @object.spawn({"FOO" => "BAR", "PATH" => ENV["PATH"]}, ruby_cmd(fixture(__FILE__, "env.rb"), options: '--disable-gems'), unsetenv_others: true)
end.should output_to_fd("BAR")
end

0 comments on commit 713224a

Please sign in to comment.