aboutsummaryrefslogblamecommitdiffstats
path: root/test/channel_test.rb
blob: 2a332372195b88cbed39f6c8ba52613ca9ef0c74 (plain) (tree)
1
2
3
4
5
6
7
8




                                                

     
                                              











                                                   
require 'test_helper'

class ChannelTest < ActionCableTest

  class PingChannel < ActionCable::Channel::Base
  end

  class PingServer < ActionCable::Server::Base
    register_channels PingChannel
  end

  def app
    PingServer
  end

  test "channel callbacks" do
    ws = Faye::WebSocket::Client.new(websocket_url)
  end

end