Update tests to use newer RSpec 'expect' syntax