Module: RSpec::Rails::ChannelExampleGroup
- Extended by:
- ActiveSupport::Concern
- Includes:
- ActionCable::Channel::TestCase::Behavior, RailsExampleGroup
- Defined in:
- lib/rspec/rails/example/channel_example_group.rb,
lib/rspec/rails/example/channel_example_group.rb
Overview
Container module for channel spec functionality.
Defined Under Namespace
Modules: ClassMethods
Constant Summary
Constants included from ActionCable::Channel::TestCase::Behavior
ActionCable::Channel::TestCase::Behavior::CHANNEL_IDENTIFIER
Constants included from ActionCable::TestHelper
ActionCable::TestHelper::CHANNEL_NOT_FOUND
Instance Method Summary collapse
Methods included from ActionCable::Channel::TestCase::Behavior
#perform, #stub_connection, #subscribe, #transmissions, #unsubscribe
Methods included from ActionCable::Connection::TestCase::Behavior
Methods included from ActionCable::Connection::Assertions
Methods included from ActionCable::TestHelper
#after_teardown, #assert_broadcast_on, #assert_broadcasts, #assert_no_broadcasts, #before_setup, #pubsub_adapter
Instance Method Details
#have_rejected_connection ⇒ Object
39 40 41 |
# File 'lib/rspec/rails/example/channel_example_group.rb', line 39 def have_rejected_connection raise_error(::ActionCable::Connection::Authorization::UnauthorizedError) end |