Tag: bdd
-
BDD/TDD test cycle for beginners
I sent this message to a RailsMentor Protege of mine : A couple notes on BDD testing : 1. Never test “the glue”. “Glue” means anything that Ruby or Rails should be doing “automatically”. That means, database querying, sending values from controller to view, etc. So, in a view test, you should be able to…