reallylabs/really-js — pull request #6 by NouranMahmoud (2014-12-06 11:57:58+00:00)
Title: test(object-ref-spec): add toHaveBeenCalledWith tests for get and update functions

- add toHaveBeenCalledWith to `get` function
- add test when invoking `get` without fields in the passed `options` parameter to return rejected promise
- add toHaveBeenCalledWith to `update` function
- add tests when invoking 'update` without ops in the passed `options` parameter to return rejected promise
- add toHaveBeenCalledWith to `delete` function

closes REALLY-78