[trials-rspecbook]codebreaker extracct method refactoring add injection
method
[trials-rspecbook]codebreaker refactoring spec files.