Recently we started experiencing random spec failures in one of our customer’s project. When the test was run in an isolation, everything was fine. The problem appeared only when some of the specs were run before the failing spec.
When solving requirements for a system, you should extract specific roles out into service objects. The lazy path is to solve problems directly where you encounter them such as in the controller, model or view.
I want to understand what resulted in me having the values I have right now. And, ultimately, how did I come to change my attitude against developing using Ruby on Rails, which I will explore in later posts.