update RSpec example to use expect() syntax