aboutsummaryrefslogblamecommitdiffstats
path: root/actioncable/test/channel/naming_test.rb
blob: 45652d9cc9db163212643e20c7f79f9187182c4f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                             
                     
 
                                                              






                                                                                  
# frozen_string_literal: true

require "test_helper"

class ActionCable::Channel::NamingTest < ActionCable::TestCase
  class ChatChannel < ActionCable::Channel::Base
  end

  test "channel_name" do
    assert_equal "action_cable:channel:naming_test:chat", ChatChannel.channel_name
  end
end