Rename jasmineMatches to asymmetricMatch

- This should be more clear what it is for

[finish #82295210]
This commit is contained in:
slackersoft
2014-12-16 16:47:31 -08:00
parent b4b3ac25a1
commit 6bd98cb2ab
6 changed files with 22 additions and 22 deletions

View File

@@ -4,7 +4,7 @@ getJasmineRequireObj().ObjectContaining = function(j$) {
this.sample = sample;
}
ObjectContaining.prototype.jasmineMatches = function(other) {
ObjectContaining.prototype.asymmetricMatch = function(other) {
if (typeof(this.sample) !== 'object') { throw new Error('You must provide an object to objectContaining, not \''+this.sample+'\'.'); }
var hasKey = function(obj, keyName) {