5.3.4: Refactoring Rspec tests