I would suggest another book: Everyday Rails Testing with… by Aaron Sumner [PDF/iPad/Kindle] -
This is especially interesting for the Rails context, which I missed
somewhat in the Rspec book, it starts to explain BDD of plain Ruby
classes and objects.
Apart from this, I recently discovered that the Gem RSpec-rails is
nicely documented in BDD style too on Github, e.g. a controller spec
looks like:
If you want to get familiar with TDD I suggest going for the Rspec Book,
since Rspec and Cucumber serve different purposes(Rspec for TDD and
Cucumber for BDD). Also, if going for Rspec go ahead and take a look at
code school(http://www.codeschool.com/), they’ve just released a course
on
Testing with Rspec which is pretty cool.