Edited Rspec with Let function