Skip to content

Commit c0e3025

Browse files
excid3seanpdoyle
andauthored
Apply suggestions from code review
Co-authored-by: Sean Doyle <[email protected]>
1 parent d78525c commit c0e3025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/system/broadcasts_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class BroadcastsTest < ApplicationSystemTestCase
123123
private
124124

125125
def reconnect_cable_stream_source(from:, to:)
126-
cable_stream_source = find("turbo-cable-stream-source[signed-stream-name=#{signed_stream_name(from)}]", visible: :all)
126+
cable_stream_source = find(:turbo_cable_stream_source, signed_stream_name: from)
127127

128128
cable_stream_source.execute_script <<~JS, signed_stream_name(to)
129129
this.setAttribute("signed-stream-name", arguments[0])

0 commit comments

Comments
 (0)