chore(qSpec): fix typos
This commit is contained in:
+4
-4
@@ -1010,7 +1010,7 @@ describe('q', function() {
|
||||
});
|
||||
|
||||
|
||||
it('should call the errback after the orignal promise is rejected',
|
||||
it('should call the errback after the original promise is rejected',
|
||||
function() {
|
||||
q.when(deferred.promise, success(), error());
|
||||
expect(logStr()).toBe('');
|
||||
@@ -1135,7 +1135,7 @@ describe('q', function() {
|
||||
|
||||
|
||||
describe('security', function() {
|
||||
it('should call success callback only once even if the original promise gets fullfilled ' +
|
||||
it('should call success callback only once even if the original promise gets fulfilled ' +
|
||||
'multiple times', function() {
|
||||
var evilPromise = {
|
||||
then: function(success, error, progress) {
|
||||
@@ -1161,7 +1161,7 @@ describe('q', function() {
|
||||
});
|
||||
|
||||
|
||||
it('should call errback only once even if the original promise gets fullfilled multiple ' +
|
||||
it('should call errback only once even if the original promise gets fulfilled multiple ' +
|
||||
'times', function() {
|
||||
var evilPromise = {
|
||||
then: function(success, error, progress) {
|
||||
@@ -1183,7 +1183,7 @@ describe('q', function() {
|
||||
});
|
||||
|
||||
|
||||
it('should not call progressback after promise gets fullfilled, even if original promise ' +
|
||||
it('should not call progressback after promise gets fulfilled, even if original promise ' +
|
||||
'gets notified multiple times', function() {
|
||||
var evilPromise = {
|
||||
then: function(success, error, progress) {
|
||||
|
||||
Reference in New Issue
Block a user