Fix function name reference in cinder.service.spec.js
This patch fixes a typo when referencing tested function names in the it block that iterates over the tests array, so the correct names are displayed in Jasmine spec runner. Change-Id: I2685272063b1a599d0c4356e234a779c63d099e1 Closes-Bug: #1466543
This commit is contained in:
parent
be6fdd8a38
commit
c334e3c5b8
|
@ -65,7 +65,7 @@
|
|||
|
||||
// Iterate through the defined tests and apply as Jasmine specs.
|
||||
angular.forEach(tests, function(params) {
|
||||
it('defines the ' + params.name + ' call properly', function() {
|
||||
it('defines the ' + params.func + ' call properly', function() {
|
||||
var callParams = [apiService, service, toastService, params];
|
||||
window.apiTest.testCall.apply(this, callParams);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue