Fix user spec to use jasmine assertion syntax