aboutsummaryrefslogblamecommitdiffstats
path: root/actioncable/test/channel/naming_test.rb
blob: 6f094fbb5ed08e23623edfeef810c112a4fd7edd (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 < ActiveSupport::TestCase
  class ChatChannel < ActionCable::Channel::Base
  end

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