Rspec test refactored