aboutsummaryrefslogtreecommitdiffstats
path: root/test/channel
Commit message (Collapse)AuthorAgeFilesLines
* Rename Subscription#reject! to Subscription#reject as there's only one ↵Pratik Naik2015-11-051-1/+1
| | | | version of the method
* Merge branch 'master' into subscription-rejectionPratik Naik2015-11-041-2/+2
|\
| * Merge pull request #69 from mieko/callbacksRafael Mendonça França2015-10-231-2/+2
| |\ | | | | | | | | | Use ActiveSupport::Callbacks for Channel subscription callbacks.
| | * Use ActiveSupport::Callbacks for Channel subscription callbacks.Mike A. Owens2015-08-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rely on AS::Callbacks for callback handling. * Add before_subscribe, after_subscribe, before_unsubscribe and after_unsubscribe convenience methods * alias on_subscribe and on_unsubscribe to after_subscribe and after_unsubscribe, respectively. * Remove `subscribed` and `unsubscribed` from the callback chain: these methods are now executed as the subject of the callbacks. * Update portions of ActionCable to use the more specific callback names.
* | | Allow rejecting subscriptions from the channelPratik Naik2015-10-211-0/+25
|/ /
* | Fix the error message in testsPratik Naik2015-10-191-1/+1
| |
* | Better test namePratik Naik2015-10-191-1/+1
| |
* | Make sure the subscription confirmaion is only sent out oncePratik Naik2015-10-191-0/+24
| |
* | Fix an error message in the subscription testsPratik Naik2015-10-161-1/+1
| |
* | Send subscription confirmation from server to the client to avoid race ↵Pratik Naik2015-10-162-9/+32
| | | | | | | | | | | | | | | | | | | | conditions. Without this, it's very easy to send messages over a subscription even before the redis pubsub has been fully initialized. Now we delay calling the subscription#connected method on the client side until we receive a subscription confirmation message from the server.
* | Fix stream testsPratik Naik2015-10-161-2/+2
| |
* | Shush some low-hanging Ruby warningsJeremy Daer2015-10-161-0/+5
| |
* | Run connection tests in EM loopPratik Naik2015-10-151-8/+15
|/
* Merge pull request #34 from ↵Kasper Timm Hansen2015-07-293-3/+50
|\ | | | | | | | | lsylvester/add-broadcast_to-and-stream_for-methods-to-channel add broadcast_to and stream_for methods as per #26
| * add broadcast_to and stream_for methods as per #26Lachlan Sylvester2015-07-283-3/+50
| |
* | Improve channel actions dispatcher to allow inheritance/mixinsCristian Bica2015-07-231-2/+38
|/ | | | Fixes #14
* Always load all the stub filesPratik Naik2015-07-133-6/+3
|
* Add some more testsPratik Naik2015-07-123-0/+168