Skip to content

Commit 8c3b2e9

Browse files
committed
correct rubocop offenses
1 parent 88dab6e commit 8c3b2e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/react_on_rails_pro/stream_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ def setup_stream_test(component_count: 2)
440440
end
441441

442442
it "handles empty component list" do
443-
queues, controller, stream = setup_stream_test(component_count: 0)
443+
_queues, controller, stream = setup_stream_test(component_count: 0)
444444

445445
run_stream(controller) do |_parent|
446446
sleep 0.1
@@ -469,7 +469,7 @@ def setup_stream_test(component_count: 2)
469469
queues, controller, stream = setup_stream_test(component_count: 1)
470470

471471
write_timestamps = []
472-
allow(stream).to receive(:write) do |data|
472+
allow(stream).to receive(:write) do |_data|
473473
write_timestamps << Process.clock_gettime(Process::CLOCK_MONOTONIC)
474474
sleep 0.05
475475
end

0 commit comments

Comments
 (0)