This can be done in ruby and we should use `let` to define objects in rspec.