Skip to content

Commit

Permalink
Removed unncessary check from test to detach channel after attaching …
Browse files Browse the repository at this point in the history
…state
  • Loading branch information
sacOO7 committed Jul 8, 2024
1 parent bbabe08 commit 3bed6fe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/acceptance/realtime/channel_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -830,10 +830,8 @@ def disconnect_transport
it 'does the detach operation once the connection state is connected (#RTL5h)' do
connection.once(:connected) do
connection.once(:disconnected) do
channel.on :attaching do
channel.detach
end
channel.attach
channel.detach
connection.once(:connected) do
channel.once(:attached) do
channel.once(:detached) do
Expand Down

0 comments on commit 3bed6fe

Please sign in to comment.