dot.Using Making technology about computers, and computers about usability.

Posts Tagged specifications

Writing helpers with Haml and rSpec

Recently Wolfman posted a description about Rails helpers written with Haml::Helpers#open and rSpec. I want it to be more DRY than it is, since the whole application is using rSpec and Haml, all helpers should have the same before(:each) So basically – what I did was :


Ruby + proper specifications = rSpec

I had an enlightenment today – truly an enlightenment. After months of reading and getting to know what test driven development and extreme programming is all about, I have finally been able to practice what I preach. Since I work with several programmers and the product we are writing is so new that it is [...]