2
2
/**
3
3
* @author Jason Dobry <[email protected] >
4
4
* @file angular-data-mocks.js
5
- * @version 1.0.0-rc.1 - Homepage <https://github.com/jmdobry/angular-data-mocks>
5
+ * @version 1.0.0-rc.2 - Homepage <https://github.com/jmdobry/angular-data-mocks>
6
6
* @copyright (c) 2014 Jason Dobry <https://github.com/jmdobry/>
7
7
* @license MIT <https://github.com/jmdobry/angular-data-mocks/blob/master/LICENSE>
8
8
*
@@ -739,6 +739,7 @@ function DSProvider() {
739
739
'bindAll' ,
740
740
'bindOne' ,
741
741
'changes' ,
742
+ 'changeHistory' ,
742
743
'compute' ,
743
744
'createInstance' ,
744
745
'defineResource' ,
@@ -762,6 +763,7 @@ function DSProvider() {
762
763
'bindAll' ,
763
764
'bindOne' ,
764
765
'changes' ,
766
+ 'changeHistory' ,
765
767
'compute' ,
766
768
'create' ,
767
769
'createInstance' ,
@@ -1241,6 +1243,8 @@ function DSProvider() {
1241
1243
index : { } ,
1242
1244
modified : { } ,
1243
1245
saved : { } ,
1246
+ changeHistories : { } ,
1247
+ changeHistory : [ ] ,
1244
1248
previousAttributes : { } ,
1245
1249
observers : { } ,
1246
1250
collectionModified : 0
@@ -1288,7 +1292,7 @@ module.exports = DSProvider;
1288
1292
* @description
1289
1293
* Fake angular-data implementation suitable for unit testing angular applications that use the `angular-data.DS` module.
1290
1294
*
1291
- * __Version:__ 1.0.0-rc.1
1295
+ * __Version:__ 1.0.0-rc.2
1292
1296
*
1293
1297
* __angular-data-mocks requires SinonJS to be loaded in order to work.__
1294
1298
*
@@ -1474,7 +1478,7 @@ module.exports = DSProvider;
1474
1478
'angular-data.DSHttpAdapterMock' ,
1475
1479
'angular-data.DSLocalStorageAdapterMock'
1476
1480
] )
1477
- . value ( 'version' , '1.0.0-rc.1 ' ) ;
1481
+ . value ( 'version' , '1.0.0-rc.2 ' ) ;
1478
1482
1479
1483
} ) ( window , window . angular ) ;
1480
1484
0 commit comments