lib/action_cable/testing/rails_six.rb in action-cable-testing-0.5.0 vs lib/action_cable/testing/rails_six.rb in action-cable-testing-0.6.0
- old
+ new
@@ -13,10 +13,10 @@
#
# using ActionCable::Testing::Syntax
module Rails6
begin
# Has been added only after 6.0.0.beta1
- unless ActionCable::Channel.respond_to?(:serialize_broadcasting)
+ unless ActionCable::Channel::Base.respond_to?(:serialize_broadcasting)
refine ActionCable::Channel::Broadcasting::ClassMethods do
def broadcasting_for(model)
super([channel_name, model])
end
end