Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
TwP committed Mar 18, 2017
1 parent 1260986 commit ff3ff42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/prefork_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def alive?( pid )

def wait_until( seconds = 5 )
start = Time.now
sleep 0.250 until (Time.now - start) > seconds or yield
sleep 0.250 until ((Time.now - start) > seconds) || yield
end

before :all do
Expand Down
2 changes: 1 addition & 1 deletion spec/server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

def wait_until( seconds = 5 )
start = Time.now
sleep 0.250 until (Time.now - start) > seconds or yield
sleep 0.250 until ((Time.now - start) > seconds) || yield
end

def readlog
Expand Down

0 comments on commit ff3ff42

Please sign in to comment.