SpicyCode

The ramblings of Chad Humphries

Posts Tagged ‘testing

Turn, turn, turn

I was looking at Turn today after seeing it on the mailing list and it is very nice. My company is pretty much an all rSpec shop, but Turn makes things nice when we are in test:unit land.

I had one minor change on line 57 that makes up happy when we have to be in Test:Unit land (we are an rspec shop). We changed 57 to:

    @io.print "    %-69s" % "- #{method.gsub('test_','').humanize}"

Which can turn

UsersControllerTest
    test_should_create_user_from_imported_csv 

to

UsersControllerTest
    - Should create user from imported csv
Advertisements

Written by spicycode

November 14, 2006 at 6:35 pm

Posted in programming

Tagged with ,