writing rules updating rspec syntax from should to expect