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 test as suggested in the readme, but the compatibility checks are loaded via an initializer, so they get applied (and should be as per the documentation). I am not sure if there is something missing/wrong in our setup, but i think this is a problem in either anycable (not knowing about testing instance variable(s)) or action-cable-testing (using a workaround for tracking streams that violate anycable expectations).
Both seem to be weak arguments, so i am not sure which one is the better path, or if there are other (better) alternatives.
When running specs the
AnyCable::Compatibilitychecks are raising an error for setting@_streams(Channel instance variables are not supported by AnyCable, but were set: @_streams).The adapter is set to
testas suggested in the readme, but the compatibility checks are loaded via an initializer, so they get applied (and should be as per the documentation). I am not sure if there is something missing/wrong in our setup, but i think this is a problem in either anycable (not knowing about testing instance variable(s)) or action-cable-testing (using a workaround for tracking streams that violate anycable expectations).Both seem to be weak arguments, so i am not sure which one is the better path, or if there are other (better) alternatives.