Skip to content

Instantly share code, notes, and snippets.

@ehelms
Created February 4, 2014 21:31
Show Gist options
  • Save ehelms/8812745 to your computer and use it in GitHub Desktop.
Save ehelms/8812745 to your computer and use it in GitHub Desktop.
GPGKey.query(function(gpgKeys) {
expect(gpgKeys.records.length).toBe(1);
});
or
GPGKey.query().then(function(gpgKeys) {
expect(gpgKeys.records.length).toBe(1);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment