Skip to content

Commit 6559876

Browse files
committed
Fixed a null pointer.
Stable Version 0.3.2.
1 parent e9d61db commit 6559876

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Jason Dobry",
33
"name": "angular-data-mocks",
44
"description": "A mock of angular-data for testing purposes.",
5-
"version": "0.3.1",
5+
"version": "0.3.2",
66
"homepage": "https://github.com/jmdobry/angular-data-mocks/",
77
"repository": {
88
"type": "git",

dist/angular-data-mocks.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @author Jason Dobry <jason.dobry@gmail.com>
33
* @file angular-data-mocks.js
4-
* @version 0.3.1 - Homepage <https://github.com/jmdobry/angular-data-mocks>
4+
* @version 0.3.2 - Homepage <https://github.com/jmdobry/angular-data-mocks>
55
* @copyright (c) 2014 Jason Dobry <https://github.com/jmdobry/>
66
* @license MIT <https://github.com/jmdobry/angular-data-mocks/blob/master/LICENSE>
77
*
@@ -14,7 +14,7 @@
1414
* @description
1515
* Fake angular-data implementation suitable for unit testing angular applications that use the `angular-data.DS` module.
1616
*
17-
* __Version:__ 0.3.0
17+
* __Version:__ 0.3.2
1818
*
1919
* __angular-data-mocks requires sinon to be loaded in order to work.__
2020
*
@@ -544,7 +544,7 @@
544544
* ```
545545
*/
546546
angular.forEach(asyncMethods, function (name) {
547-
DS['expect' + name[0].toUpperCase() + name.substring(1)] = createShortMethod(name, expectations);
547+
DSHttpAdapter['expect' + name[0].toUpperCase() + name.substring(1)] = createShortMethod(name, expectations);
548548
});
549549

550550
angular.extend(DSHttpAdapter, stubs);

dist/angular-data-mocks.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-data-mocks",
33
"description": "A mock of angular-data for testing purposes.",
4-
"version": "0.3.1",
4+
"version": "0.3.2",
55
"homepage": "https://github.com/jmdobry/angular-data-mocks",
66
"repository": {
77
"type": "git",

src/angular-data-mocks.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* @description
1515
* Fake angular-data implementation suitable for unit testing angular applications that use the `angular-data.DS` module.
1616
*
17-
* __Version:__ 0.3.0
17+
* __Version:__ 0.3.2
1818
*
1919
* __angular-data-mocks requires sinon to be loaded in order to work.__
2020
*
@@ -544,7 +544,7 @@
544544
* ```
545545
*/
546546
angular.forEach(asyncMethods, function (name) {
547-
DS['expect' + name[0].toUpperCase() + name.substring(1)] = createShortMethod(name, expectations);
547+
DSHttpAdapter['expect' + name[0].toUpperCase() + name.substring(1)] = createShortMethod(name, expectations);
548548
});
549549

550550
angular.extend(DSHttpAdapter, stubs);

0 commit comments

Comments
 (0)