Adding RSpec solution