Refactor the rspec test with let interpolation