Unit testing ActionCable channels with RSpec

Tomek Wałkuski
1 min readJun 5, 2017

--

Rails 5.1 doesn’t have official support for testing ActionCable channels yet. Here is the minimal example how to unit test a single channel action:

--

--

Tomek Wałkuski

I love my life. You would probably enjoy being me. Older than the Internet in Poland. Founder and CEO at 98elements.