Mocks are interesting, but verifying that methods were called on the mock seems like testing side effects rather than behavior.
-
-
@sgrif I would still use a substitute for that. Something like this: http://www.rubydoc.info/github/Shopify/active_merchant/ActiveMerchant/Billing/BogusGateway … -
@realntl For an API that complex, I agree. Most cases are simpler (and I would probably have each of those methods be a single object)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.