Archive for April, 2010

Posting to WordPress from my iPad

I don’t blog much, that’s no secret, however with the iPad and specifically the WordPress app on the iPad I might change that. Time will tell how well this works out.

No Comments

Stubbing Before Everything with RSpec

Let’s say I want to always stub some external service client before every model and controller spec. For example, if I want to stub RSpreedly (a nice client interface to the Spreedly recurring payment processor), I put the following in spec/support/stubs.rb:

Now RSpreedly::Subscriber instances will always be stubbed. Simple and sweet.

, , ,

No Comments