TDD on Rails #2


In my new app that started as a POC of TDD, I’m going to use Authlogic. And I followed the doc and some post here .

Again, I did lots of behavior thinking without TDD/BDD in mind…. The result was that I was with some controllers and my model created without any test related thing going on…

The thought of the day is: never user ./script/generate [model|controller|...] anymore… use ./script/generate [rspec_controller|rspec_model|...]

  1. No comments yet.
(will not be published)
CommentLuv Enabled

  1. No trackbacks yet.