Skip to content

Commit 5d18f5a

Browse files
ptrgitsioquatix
authored andcommitted
Update spec_server.rb
1 parent c6cdd47 commit 5d18f5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/spec_server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ def start(*) [self.class, :started] end
525525

526526
Process.kill(:INT, $$)
527527
t.join
528-
open(pidfile.path) { |f| f.read.must_equal $$.to_s }
528+
File.open(pidfile.path) { |f| f.read.must_equal $$.to_s }
529529
end if RUBY_VERSION >= "2.6" && RUBY_ENGINE == "ruby"
530530

531531
it "check pid file presence and running process" do

0 commit comments

Comments
 (0)