From 47884032ad255e8e15144dcd3545c3267795dee0 Mon Sep 17 00:00:00 2001 From: Chris Bandy Date: Sat, 1 Mar 2014 17:01:05 -0600 Subject: [PATCH] Fix ObjectContaining to match recursively matchersUtil.equals() does not expect a matcher as its first argument, so send the "actual" value first and the "expected" value second. --- spec/core/ObjectContainingSpec.js | 6 ++++++ src/core/ObjectContaining.js | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/spec/core/ObjectContainingSpec.js b/spec/core/ObjectContainingSpec.js index 24341532..27bd71ef 100644 --- a/spec/core/ObjectContainingSpec.js +++ b/spec/core/ObjectContainingSpec.js @@ -61,4 +61,10 @@ describe("ObjectContaining", function() { expect(containing.jasmineToString()).toMatch("