vendor/assets/javascripts/angular-mocks.js in rails-angularjs-1.4.0 vs vendor/assets/javascripts/angular-mocks.js in rails-angularjs-1.4.1
- old
+ new
@@ -1,7 +1,7 @@
/**
- * @license AngularJS v1.4.0
+ * @license AngularJS v1.4.1
* (c) 2010-2015 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
@@ -1088,10 +1088,10 @@
it('should send auth header', function() {
var controller = createController();
$httpBackend.flush();
$httpBackend.expectPOST('/add-msg.py', undefined, function(headers) {
- // check if the header was send, if it wasn't the expectation won't
+ // check if the header was sent, if it wasn't the expectation won't
// match the request and the test will fail
return headers['Authorization'] == 'xxx';
}).respond(201, '');
$rootScope.saveMessage('whatever');