Skip to content

Commit

Permalink
Fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Olichwirowicz committed Jan 26, 2023
1 parent 0299c05 commit 33da1e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions test/test_integration_cluster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,7 @@ def test_on_booted

output = []

while @server.gets do
output << $_
end
output << $_ while @server.gets

assert output.any? { |msg| msg == "on_booted called\n" } != nil
end
Expand Down
5 changes: 1 addition & 4 deletions test/test_integration_single.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
require_relative "helper"
require_relative "helpers/integration"
require 'debug'

class TestIntegrationSingle < TestIntegration
parallelize_me! if ::Puma.mri?
Expand Down Expand Up @@ -55,9 +54,7 @@ def test_on_booted

output = []

while @server.gets do
output << $_
end
output << $_ while @server.gets

assert output.any? { |msg| msg == "on_booted called\n" } != nil
end
Expand Down

0 comments on commit 33da1e1

Please sign in to comment.