• Nick Stenning's avatar
    Be strict about request counting in tests · e003383b
    Nick Stenning authored
    The angular $httpBackend mocking service supports two primary means of
    usage:
    
       .expect(...).respond(...)
    
    and
    
       .when(...).respond(...)
    
    The latter pattern allows a single handler to respond to multiple
    requests, in any order. The latter is precise -- one .expect() must be
    matched by one request, in the correct order.
    
    This commit changes the tests for the "features" service to use this
    more precise form of testing.
    e003383b
Name
Last commit
Last update
h Loading commit data...
.hound.yml Loading commit data...
.jscsrc Loading commit data...
.jshintignore Loading commit data...
.jshintrc Loading commit data...
package.json Loading commit data...