Skip to content

Commit 69b0095

Browse files
committed
Documentation updates.
Stable Version 0.3.0.
1 parent 905a55f commit 69b0095

5 files changed

Lines changed: 64 additions & 48 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.2.0",
5+
"version": "0.3.0",
66
"homepage": "https://github.com/jmdobry/angular-data-mocks/",
77
"repository": {
88
"type": "git",

dist/angular-data-mocks.js

Lines changed: 31 additions & 23 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.2.0 - Homepage <https://github.com/jmdobry/angular-data-mocks>
4+
* @version 0.3.0 - 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
*
@@ -12,11 +12,11 @@
1212
* @id angular-data-mocks
1313
* @name angular-data-mocks
1414
* @description
15-
* Fake DS implementation suitable for unit testing applications that use the `angular-data.DS` module.
15+
* Fake angular-data implementation suitable for unit testing angular applications that use the `angular-data.DS` module.
1616
*
17-
* __Version:__ 0.2.0
17+
* __Version:__ 0.3.0
1818
*
19-
* __angular-data-mocks requires sinon to be loaded to function.__
19+
* __angular-data-mocks requires sinon to be loaded in order to work.__
2020
*
2121
* ## Install
2222
*
@@ -179,19 +179,19 @@
179179

180180
/**
181181
* @doc interface
182-
* @id DSHttpAdapterMock
183-
* @name DSHttpAdapterMock
182+
* @id DSHttpAdapter
183+
* @name DSHttpAdapter
184184
* @description
185185
* A mock implementation of `DSHttpAdapter` with helper methods for declaring and testing expectations.
186186
*
187-
* __angular-data-mocks requires sinon to be loaded to function.__
187+
* __angular-data-mocks requires sinon to be loaded in order to work.__
188188
*
189189
* See the [testing guide](/documentation/guide/angular-data-mocks/index).
190190
*/
191191
var DSHttpAdapter = {
192192
/**
193193
* @doc method
194-
* @id DSHttpAdapterMock.methods:expect
194+
* @id DSHttpAdapter.methods:expect
195195
* @name expect
196196
* @description
197197
* Create an expectation.
@@ -216,7 +216,7 @@
216216

217217
/**
218218
* @doc method
219-
* @id DSHttpAdapterMock.methods:flush
219+
* @id DSHttpAdapter.methods:flush
220220
* @name flush
221221
* @description
222222
* Flush the pending expectations.
@@ -245,7 +245,7 @@
245245

246246
/**
247247
* @doc method
248-
* @id DSHttpAdapterMock.methods:verifyNoOutstandingExpectation
248+
* @id DSHttpAdapter.methods:verifyNoOutstandingExpectation
249249
* @name verifyNoOutstandingExpectation
250250
* @description
251251
* Ensure that no expectations remain unfulfilled.
@@ -260,7 +260,7 @@
260260

261261
/**
262262
* @doc method
263-
* @id DSHttpAdapterMock.methods:expectCreate
263+
* @id DSHttpAdapter.methods:expectCreate
264264
* @name expectCreate
265265
* @description
266266
* Create an expectation that `DSHttpAdapter.create` will be called.
@@ -285,7 +285,7 @@
285285
*/
286286
/**
287287
* @doc method
288-
* @id DSHttpAdapterMock.methods:expectDEL
288+
* @id DSHttpAdapter.methods:expectDEL
289289
* @name expectDEL
290290
* @description
291291
* Create an expectation that `DSHttpAdapter.DEL` will be called.
@@ -302,7 +302,7 @@
302302
*/
303303
/**
304304
* @doc method
305-
* @id DSHttpAdapterMock.methods:expectDestroy
305+
* @id DSHttpAdapter.methods:expectDestroy
306306
* @name expectDestroy
307307
* @description
308308
* Create an expectation that `DSHttpAdapter.destroy` will be called.
@@ -322,7 +322,7 @@
322322
*/
323323
/**
324324
* @doc method
325-
* @id DSHttpAdapterMock.methods:expectDestroyAll
325+
* @id DSHttpAdapter.methods:expectDestroyAll
326326
* @name expectDestroyAll
327327
* @description
328328
* Create an expectation that `DSHttpAdapter.destroyAll` will be called.
@@ -354,7 +354,7 @@
354354
*/
355355
/**
356356
* @doc method
357-
* @id DSHttpAdapterMock.methods:expectFind
357+
* @id DSHttpAdapter.methods:expectFind
358358
* @name expectFind
359359
* @description
360360
* Create an expectation that `DSHttpAdapter.find` will be called.
@@ -378,7 +378,7 @@
378378
*/
379379
/**
380380
* @doc method
381-
* @id DSHttpAdapterMock.methods:expectFindAll
381+
* @id DSHttpAdapter.methods:expectFindAll
382382
* @name expectFindAll
383383
* @description
384384
* Create an expectation that `DSHttpAdapter.findAll` will be called.
@@ -411,7 +411,7 @@
411411
*/
412412
/**
413413
* @doc method
414-
* @id DSHttpAdapterMock.methods:expectGET
414+
* @id DSHttpAdapter.methods:expectGET
415415
* @name expectGET
416416
* @description
417417
* Create an expectation that `DSHttpAdapter.GET` will be called.
@@ -429,7 +429,7 @@
429429
*/
430430
/**
431431
* @doc method
432-
* @id DSHttpAdapterMock.methods:expectHTTP
432+
* @id DSHttpAdapter.methods:expectHTTP
433433
* @name expectHTTP
434434
* @description
435435
* Create an expectation that `DSHttpAdapter.HTTP` will be called.
@@ -449,7 +449,7 @@
449449
*/
450450
/**
451451
* @doc method
452-
* @id DSHttpAdapterMock.methods:expectPOST
452+
* @id DSHttpAdapter.methods:expectPOST
453453
* @name expectPOST
454454
* @description
455455
* Create an expectation that `DSHttpAdapter.POST` will be called.
@@ -467,7 +467,7 @@
467467
*/
468468
/**
469469
* @doc method
470-
* @id DSHttpAdapterMock.methods:expectPUT
470+
* @id DSHttpAdapter.methods:expectPUT
471471
* @name expectPUT
472472
* @description
473473
* Create an expectation that `DSHttpAdapter.PUT` will be called.
@@ -485,7 +485,7 @@
485485
*/
486486
/**
487487
* @doc method
488-
* @id DSHttpAdapterMock.methods:expectUpdate
488+
* @id DSHttpAdapter.methods:expectUpdate
489489
* @name expectUpdate
490490
* @description
491491
* Create an expectation that `DSHttpAdapter.update` will be called.
@@ -510,7 +510,7 @@
510510
*/
511511
/**
512512
* @doc method
513-
* @id DSHttpAdapterMock.methods:expectUpdateAll
513+
* @id DSHttpAdapter.methods:expectUpdateAll
514514
* @name expectUpdateAll
515515
* @description
516516
* Create an expectation that `DSHttpAdapter.updateAll` will be called.
@@ -603,7 +603,7 @@
603603
* @description
604604
* A mock implementation of `DS` with helper methods for declaring and testing expectations.
605605
*
606-
* __angular-data-mocks requires sinon to be loaded to function.__
606+
* __angular-data-mocks requires sinon to be loaded in order to work.__
607607
*
608608
* See the [testing guide](/documentation/guide/angular-data-mocks/index).
609609
*/
@@ -759,6 +759,7 @@
759759
* @doc method
760760
* @id DSMock.methods:expectDestroy
761761
* @name expectDestroy
762+
* @description
762763
* Create an expectation that `DS.destroy` will be called.
763764
*
764765
* ## Signature:
@@ -775,6 +776,7 @@
775776
* @doc method
776777
* @id DSMock.methods:expectDestroyAll
777778
* @name expectDestroyAll
779+
* @description
778780
* Create an expectation that `DS.destroyAll` will be called.
779781
*
780782
* ## Signature:
@@ -799,6 +801,7 @@
799801
* @doc method
800802
* @id DSMock.methods:expectFind
801803
* @name expectFind
804+
* @description
802805
* Create an expectation that `DS.find` will be called.
803806
*
804807
* ## Signature:
@@ -818,6 +821,7 @@
818821
* @doc method
819822
* @id DSMock.methods:expectFindAll
820823
* @name expectFindAll
824+
* @description
821825
* Create an expectation that `DS.findAll` will be called.
822826
*
823827
* ## Signature:
@@ -845,6 +849,7 @@
845849
* @doc method
846850
* @id DSMock.methods:expectRefresh
847851
* @name expectRefresh
852+
* @description
848853
* Create an expectation that `DS.refresh` will be called.
849854
*
850855
* ## Signature:
@@ -864,6 +869,7 @@
864869
* @doc method
865870
* @id DSMock.methods:expectSave
866871
* @name expectSave
872+
* @description
867873
* Create an expectation that `DS.save` will be called.
868874
*
869875
* ## Signature:
@@ -883,6 +889,7 @@
883889
* @doc method
884890
* @id DSMock.methods:expectUpdate
885891
* @name expectUpdate
892+
* @description
886893
* Create an expectation that `DS.update` will be called.
887894
*
888895
* ## Signature:
@@ -904,6 +911,7 @@
904911
* @doc method
905912
* @id DSMock.methods:expectUpdateAll
906913
* @name expectUpdateAll
914+
* @description
907915
* Create an expectation that `DS.updateAll` will be called.
908916
*
909917
* ## Signature:

dist/angular-data-mocks.min.js

Lines changed: 1 addition & 1 deletion
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.2.0",
4+
"version": "0.3.0",
55
"homepage": "https://github.com/jmdobry/angular-data-mocks",
66
"repository": {
77
"type": "git",

0 commit comments

Comments
 (0)