|
1 | 1 | /** |
2 | 2 | * @author Jason Dobry <jason.dobry@gmail.com> |
3 | 3 | * @file angular-data-mocks.js |
4 | | - * @version 0.3.0 - Homepage <https://github.com/jmdobry/angular-data-mocks> |
| 4 | + * @version 0.3.1 - Homepage <https://github.com/jmdobry/angular-data-mocks> |
5 | 5 | * @copyright (c) 2014 Jason Dobry <https://github.com/jmdobry/> |
6 | 6 | * @license MIT <https://github.com/jmdobry/angular-data-mocks/blob/master/LICENSE> |
7 | 7 | * |
|
598 | 598 |
|
599 | 599 | /** |
600 | 600 | * @doc interface |
601 | | - * @id DSMock |
602 | | - * @name DSMock |
| 601 | + * @id DS |
| 602 | + * @name DS |
603 | 603 | * @description |
604 | 604 | * A mock implementation of `DS` with helper methods for declaring and testing expectations. |
605 | 605 | * |
|
611 | 611 |
|
612 | 612 | /** |
613 | 613 | * @doc method |
614 | | - * @id DSMock.methods:expect |
| 614 | + * @id DS.methods:expect |
615 | 615 | * @name expect |
616 | 616 | * @description |
617 | 617 | * Create an expectation. |
|
656 | 656 |
|
657 | 657 | /** |
658 | 658 | * @doc method |
659 | | - * @id DSMock.methods:flush |
| 659 | + * @id DS.methods:flush |
660 | 660 | * @name flush |
661 | 661 | * @description |
662 | 662 | * Flush the pending expectations. |
|
705 | 705 |
|
706 | 706 | /** |
707 | 707 | * @doc method |
708 | | - * @id DSMock.methods:verifyNoOutstandingExpectation |
| 708 | + * @id DS.methods:verifyNoOutstandingExpectation |
709 | 709 | * @name verifyNoOutstandingExpectation |
710 | 710 | * @description |
711 | 711 | * Ensure that no expectations remain unfulfilled. |
|
735 | 735 |
|
736 | 736 | /** |
737 | 737 | * @doc method |
738 | | - * @id DSMock.methods:expectCreate |
| 738 | + * @id DS.methods:expectCreate |
739 | 739 | * @name expectCreate |
740 | 740 | * @description |
741 | 741 | * Create an expectation that `DS.create` will be called. |
|
757 | 757 | */ |
758 | 758 | /** |
759 | 759 | * @doc method |
760 | | - * @id DSMock.methods:expectDestroy |
| 760 | + * @id DS.methods:expectDestroy |
761 | 761 | * @name expectDestroy |
762 | 762 | * @description |
763 | 763 | * Create an expectation that `DS.destroy` will be called. |
|
774 | 774 | */ |
775 | 775 | /** |
776 | 776 | * @doc method |
777 | | - * @id DSMock.methods:expectDestroyAll |
| 777 | + * @id DS.methods:expectDestroyAll |
778 | 778 | * @name expectDestroyAll |
779 | 779 | * @description |
780 | 780 | * Create an expectation that `DS.destroyAll` will be called. |
|
799 | 799 | */ |
800 | 800 | /** |
801 | 801 | * @doc method |
802 | | - * @id DSMock.methods:expectFind |
| 802 | + * @id DS.methods:expectFind |
803 | 803 | * @name expectFind |
804 | 804 | * @description |
805 | 805 | * Create an expectation that `DS.find` will be called. |
|
819 | 819 | */ |
820 | 820 | /** |
821 | 821 | * @doc method |
822 | | - * @id DSMock.methods:expectFindAll |
| 822 | + * @id DS.methods:expectFindAll |
823 | 823 | * @name expectFindAll |
824 | 824 | * @description |
825 | 825 | * Create an expectation that `DS.findAll` will be called. |
|
847 | 847 | */ |
848 | 848 | /** |
849 | 849 | * @doc method |
850 | | - * @id DSMock.methods:expectRefresh |
| 850 | + * @id DS.methods:expectRefresh |
851 | 851 | * @name expectRefresh |
852 | 852 | * @description |
853 | 853 | * Create an expectation that `DS.refresh` will be called. |
|
867 | 867 | */ |
868 | 868 | /** |
869 | 869 | * @doc method |
870 | | - * @id DSMock.methods:expectSave |
| 870 | + * @id DS.methods:expectSave |
871 | 871 | * @name expectSave |
872 | 872 | * @description |
873 | 873 | * Create an expectation that `DS.save` will be called. |
|
887 | 887 | */ |
888 | 888 | /** |
889 | 889 | * @doc method |
890 | | - * @id DSMock.methods:expectUpdate |
| 890 | + * @id DS.methods:expectUpdate |
891 | 891 | * @name expectUpdate |
892 | 892 | * @description |
893 | 893 | * Create an expectation that `DS.update` will be called. |
|
909 | 909 | */ |
910 | 910 | /** |
911 | 911 | * @doc method |
912 | | - * @id DSMock.methods:expectUpdateAll |
| 912 | + * @id DS.methods:expectUpdateAll |
913 | 913 | * @name expectUpdateAll |
914 | 914 | * @description |
915 | 915 | * Create an expectation that `DS.updateAll` will be called. |
|
0 commit comments