aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/test/channel/naming_test.rb
blob: 08f0e7be4829dfe4aaad495815b6e27269228c92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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