Category Archives: rspec

rspec_rails is awesome

It is only when one has to muck about with other mocking libraries one realises how cool rspec_rails is? It bascially provides you so much “rails” functionality out of the box that mocking and stubbing feels like a walk in … Continue reading

Posted in Rails, rspec | Tagged , | Leave a comment

rspec stub V should_receive

I have been pondering over the difference between the two aforesaid methods in rspec but it did not become apparent to me at first. Yesterday, whilst reading the RSpec Bible it all became crystal clear. I know some people might … Continue reading

Posted in Testing, rspec | Tagged , | Leave a comment