Refactor rspec with let