Tag Archives: rspec

Rails3 and rspec-rails-2.0.0.beta20 and cucumber-rails-0.3.2

Last week, I started a Rails3 project and considering I am sucker for TDD. I added the current stable versions of rspec-rails and cucumber-rails to the Gemfile. Now, this is a simple project (and honestly speaking I could have just … Continue reading

Posted in Programming | Tagged , , | Leave a comment

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

Cygwin, RSpec on Windows Vista

I have turned into an early adopter for some reason, so few weeks back when I had the opportunity to use Rspec to do some TDD style of development…I literally jumped on the idea. But the adoption was not that … Continue reading

Posted in Rails, TDD, Windows | Tagged , , , | Leave a comment