Testing Rails Metal With Cucumber/rSpec
- by nkabbara
Hi,
I'm trying to stub a third party service that my metal talks to. It seems rspec mocks/stubs don't extend all the way to the Metal.
When I call stubbed methods on objects, it calls the original one and not the stubbed one.
Any idea of how I can have rSpec doubles extend all the way to the metal?
Thanks.
-Nash