Optimized code.
Separate rspec expectation.