SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

feat(ngMock/$httpBackend): support a matching function for data param

Add support for passing function as validating data:
 - To avoid hacking test method of RegExp
 - Optionally overwrite `toString` method of fn to show validation tips
 - change docs: param description for `when`, `whenPost`, `whenPut`,
   `expect`, `expectPost`, `expectPut`, `expectPATCH`

Closes: #2981
K
Ken Chen committed
08daa7797bce5207916251d4a0ab3d5c93e5529a
Parent: ac5105b
Committed by Pete Bacon Darwin <pete@bacondarwin.com> on 8/6/2013, 3:54:50 PM