diff --git a/README.markdown b/README.markdown index 78ed19f..0258c5e 100644 --- a/README.markdown +++ b/README.markdown @@ -130,6 +130,9 @@ Putting it all together, you can install the mock, pass some spies as callbacks }); request = mostRecentAjaxRequest(); + expect(request.url).toBe('venues/search'); + expect(request.method').toBe('POST'); + expect(request.data()).toEqual({latLng: ['40.019461, -105.273296']}); }); describe("on success", function() {