Closed kbaum closed 11 years ago
This could possibly be related to my REST API endpoint implementation. Would you mind providing the response or error from here? If that checks out, could you also provide more information on the event that's triggering the error?
Ok.. turns out it was a problem with my Pusher.app_id not being set before PusherFake is configured. This caused the regexp's not to match within the server's switch statement and hence the null being returned as a response. Now I am running into another issue but i will open up another ticket for that :-).
Actually.. i'm not opening a new issue. Everything is working perfectly now!
Nice! I'll probably add an error for invalid paths to make this a little more obvious. Thanks for the feedback.
I am trying to use pusher within my tests and i am getting a null body which causes the following error:
When i put a breakpoint in, this is what i see in the body:
http://grab.by/juqW
I am using
ruby 1.9.3 pusher 0.11.2 pusher-fake-0.6.0
I have this in my application.rb (rails) to start pusher:
https://gist.github.com/4683074
thx!
-karl