Closed Tybot204 closed 7 years ago
Awesome! Thanks for the work. Let me know when it's finished and I'll try to get it merged as soon as possible.
Also, I fixed the Rubocop issue in master if you want to rebase.
@tristandunn I think this is ready now. Couple other things to note: 1) The Pusher API docs say their endpoints for events and batch events allow "channel" (singular) to be used in place of "channels". I added a conditional assignment to both fake emitters to handle that case here. 2) My tests are all passing locally, yet 2 of them fail on Travis CI. Is this a configuration problem with Travis? It looks like capybara-webkit is having trouble connecting.
Thanks again!
@Tybot204 Just released v1.7.0 with this in it, if you're looking to use it.
Awesome, thank you! Updating my gems right now.
Pusher supports sending batch events since version 1.1.0 of their Ruby gem. I added in an endpoint for the fake server so that Rails applications can make use of this in testing.
See the API documentation.