@@ -109,24 +109,24 @@ beforeEach(function() {
109
109
if ( this . actual . callCount != 1 ) {
110
110
if ( this . actual . callCount == 0 ) {
111
111
return [
112
- 'Expected spy ' + this . actual . identity + ' to have been called with ' +
112
+ 'Expected spy ' + this . actual . identity + ' to have been called once with ' +
113
113
jasmine . pp ( expectedArgs ) + ' but it was never called.' ,
114
114
'Expected spy ' + this . actual . identity + ' not to have been called with ' +
115
115
jasmine . pp ( expectedArgs ) + ' but it was.'
116
116
] ;
117
117
}
118
118
119
119
return [
120
- 'Expected spy ' + this . actual . identity + ' to have been called with ' +
121
- jasmine . pp ( expectedArgs ) + ' but it was never called.' ,
122
- 'Expected spy ' + this . actual . identity + ' not to have been called with ' +
120
+ 'Expected spy ' + this . actual . identity + ' to have been called once with ' +
121
+ jasmine . pp ( expectedArgs ) + ' but it was called ' + this . actual . callCount + ' times .',
122
+ 'Expected spy ' + this . actual . identity + ' not to have been called once with ' +
123
123
jasmine . pp ( expectedArgs ) + ' but it was.'
124
124
] ;
125
125
} else {
126
126
return [
127
- 'Expected spy ' + this . actual . identity + ' to have been called with ' +
127
+ 'Expected spy ' + this . actual . identity + ' to have been called once with ' +
128
128
jasmine . pp ( expectedArgs ) + ' but was called with ' + jasmine . pp ( this . actual . argsForCall ) ,
129
- 'Expected spy ' + this . actual . identity + ' not to have been called with ' +
129
+ 'Expected spy ' + this . actual . identity + ' not to have been called once with ' +
130
130
jasmine . pp ( expectedArgs ) + ' but was called with ' + jasmine . pp ( this . actual . argsForCall )
131
131
] ;
132
132
}
0 commit comments