How are folks testing methods that call Grackle functions?
My first thought was to use something like FakeWeb that would catch
the HTTP request to a specific URL and return whatever I wanted.
However, I haven't been able to make that work (entirely possible I'm
going it wrong), so I thought I'd see what others are doing. Since
Grackle uses method_missing heavily, it feels sort of silly to stub
out a Grackle::Client object that expects a certain method call (like
you would with other objects you didn't actually want to call in your
tests). Is my instinct wrong with this, or... what are other people
doing that tests your use of Grackle, rather than testing Grackle its
self? Thanks!
Ben
--
Subscription settings:
http://groups.google.com/group/gracklerb/subscribe?hl=en