use let func in Rspec test