mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
12 lines
293 B
Ruby
12 lines
293 B
Ruby
# 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
|