Order of execution of before blocks in RSpec
I discovered that before blocks in RSpec’s examples are executed in the order they are declared. There is no great deal about it, but it can be useful when u...
I discovered that before blocks in RSpec’s examples are executed in the order they are declared. There is no great deal about it, but it can be useful when u...
Suppose you have some duplicated code in the Foo & Bar classes. You managed to extracted this code in a helper class. Fine, the helper class can now be t...
When trying to use devise 1.0.11 with rails 2.3.8 and bundler 1.0.10, I got the error could not find generator ... when running bundle exec script/generate d...
Don’t waste your time as I did !
Suppose you have a hidden newsletter folder in the file following file structure inside radiant:
Here is an example showing the issue :
When working with legacy code, writing tests requires to exploit seams to -hack- inject custom behaviour. In Working Effectively with Legacy Code, Michael Fe...
There is a huge difference between reading about agile software developpment, and being an agile developper or team. There are a lot of practical best practi...