Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite9d6d2e

Browse files
committed
Added missing sinon.spy calls.
1 parentc44be87 commite9d6d2e

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

‎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.4.0",
5+
"version":"0.4.1",
66
"homepage":"https://github.com/jmdobry/angular-data-mocks/",
77
"repository": {
88
"type":"git",

‎dist/angular-data-mocks.js‎

Lines changed: 4 additions & 1 deletion
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.4.0 - Homepage <https://github.com/jmdobry/angular-data-mocks>
4+
*@version 0.4.1 - 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
*
@@ -172,6 +172,7 @@
172172

173173
angular.forEach(asyncMethods,function(name){
174174
stubs[name]=mockAsync(name,'DSHttpAdapter',expectations,requests);
175+
sinon.spy(stubs,name);
175176
});
176177

177178
this.$get=function(){
@@ -566,6 +567,7 @@
566567

567568
angular.forEach(asyncMethods,function(name){
568569
stubs[name]=mockAsync(name,'DSLocalStorageAdapter',expectations,requests);
570+
sinon.spy(stubs,name);
569571
});
570572

571573
this.$get=function(){
@@ -798,6 +800,7 @@
798800

799801
angular.forEach(asyncMethods,function(name){
800802
stubs[name]=mockAsync(name,'DS',expectations,requests);
803+
sinon.spy(stubs,name);
801804
});
802805

803806
angular.forEach(syncMethods,function(name){

‎dist/angular-data-mocks.min.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing 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.4.0",
4+
"version":"0.4.1",
55
"homepage":"https://github.com/jmdobry/angular-data-mocks",
66
"repository": {
77
"type":"git",

‎src/angular-data-mocks.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@
172172

173173
angular.forEach(asyncMethods,function(name){
174174
stubs[name]=mockAsync(name,'DSHttpAdapter',expectations,requests);
175+
sinon.spy(stubs,name);
175176
});
176177

177178
this.$get=function(){
@@ -566,6 +567,7 @@
566567

567568
angular.forEach(asyncMethods,function(name){
568569
stubs[name]=mockAsync(name,'DSLocalStorageAdapter',expectations,requests);
570+
sinon.spy(stubs,name);
569571
});
570572

571573
this.$get=function(){
@@ -798,6 +800,7 @@
798800

799801
angular.forEach(asyncMethods,function(name){
800802
stubs[name]=mockAsync(name,'DS',expectations,requests);
803+
sinon.spy(stubs,name);
801804
});
802805

803806
angular.forEach(syncMethods,function(name){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp