diff options
author | Benoit Daloze <eregontp@gmail.com> | 2019-09-29 19:13:37 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2019-09-29 19:13:37 +0200 |
commit | 070cbe22b70ec2bec36c7cfc84b726510afa306f (patch) | |
tree | 56cee87834c85bd9f358ebee51bab4893fb9952f /spec/ruby/shared/process | |
parent | d51b4e34fbdbe1a845aa2251b1fa3304de809b32 (diff) |
Update to ruby/spec@34e6246
Diffstat (limited to 'spec/ruby/shared/process')
-rw-r--r-- | spec/ruby/shared/process/fork.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |