Added let function in rspec