News for hackers. Stuff that matters.
Re:Rails has Two Default Stacks by Argorak on Monday January 14, 2013 @02:36PM (#5056163)
rspec has some redeeming qualities that were luckily ported to minispec, especially the let-syntax. Once you grok how it works, its a very nice way to setup complex test data that has minor differences.

assert, in my opinion, has the distinct advantage of being immediately recognizable as a special thing while should reads kind of informal.

Re:Rails has Two Default Stacks by lazyGeneral on Monday January 14, 2013 @02:54PM (#5056247)
Wouldn't say `let` is so much better than `def setup` as a newcomer. `def setup` is simple and powerful enough and after a while you begin to wonder whether something like `let` exists.