aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/testabilityPatch.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js
index 24f10139..3b9d9208 100644
--- a/test/testabilityPatch.js
+++ b/test/testabilityPatch.js
@@ -120,6 +120,11 @@ beforeEach(function(){
};
return this.actual.callCount == 1;
+ },
+
+
+ toBeOneOf: function() {
+ return angularArray.indexOf(arguments, this.actual) !== -1;
}
});