aboutsummaryrefslogtreecommitdiffstats
path: root/test/channel/naming_test.rb
blob: 89ef6ad8b06b4af4d9e23807c6b33bafe0698d0c (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