Skip to content

Instantly share code, notes, and snippets.

@jbueza
Created December 22, 2011 20:44
Show Gist options
  • Save jbueza/1511782 to your computer and use it in GitHub Desktop.
Save jbueza/1511782 to your computer and use it in GitHub Desktop.
describe("Adding a user to a particular application - Service Spec", function () {
var service = services['addUserToApplication'];
it("should have a name", function () {
expect(service.name).toEqual("addUserToApplication");
});
it("should have a url", function () {
expect(service.uri).toEqual("/Application/AddUser");
});
it("should be a POST", function () {
expect(service.options.method).toEqual("post");
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment