Refactoring Specifications - codebase with an example of spec to code