Rspec help

Hi all

I’ve created a stack overflow question that I hope someone here can help
me with.

Thanks in advance,
Denise