From 070cbe22b70ec2bec36c7cfc84b726510afa306f Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sun, 29 Sep 2019 19:13:37 +0200 Subject: Update to ruby/spec@34e6246 --- spec/ruby/shared/process/fork.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/ruby/shared/process/fork.rb') diff --git a/spec/ruby/shared/process/fork.rb b/spec/ruby/shared/process/fork.rb index cb863b42d8..11e18d7b1c 100644 --- a/spec/ruby/shared/process/fork.rb +++ b/spec/ruby/shared/process/fork.rb @@ -60,7 +60,7 @@ describe :process_fork, shared: true do else Process.waitpid(child_id) end - File.exist?(@file).should == true + File.should.exist?(@file) end it "runs a block in a child process" do @@ -69,7 +69,7 @@ describe :process_fork, shared: true do Process.exit! } Process.waitpid(pid) - File.exist?(@file).should == true + File.should.exist?(@file) end it "marks threads from the parent as killed" do -- cgit v1.2.3