action-cable-testing icon indicating copy to clipboard operation
action-cable-testing copied to clipboard

Action Cable testing utils

Results 4 action-cable-testing issues
Sort by recently updated
recently updated
newest added

I'm trying to test some broadcasting (in my case a it will be after a worker does some task) and I always give this error: ` Failure/Error: expect { worker.perform(param1,param2)...

The issue happens due to the following check in action_cable/testing/rspec.rb: `if RSpec::Rails::FeatureCheck.respond_to?(:has_action_cable_testing?)`. It does not account for a fact that though the method is present it still returns false for...

When running specs the `AnyCable::Compatibility` checks are raising an error for setting `@_streams` (Channel instance variables are not supported by AnyCable, but were set: @_streams). The adapter is set to...

If I mount my ActionCable app as such: ```mount ActionCable.server => "/socket(/:channel/:resource_id)"``` My connection objects receive and have access to `request.params[:channel]` and `request.params[:resource_id]` much as I would expect. If I...