From 3fe583a5290482da5b8cbbdcb344c5c749dd67f9 Mon Sep 17 00:00:00 2001 From: jacobawenger Date: Sat, 13 Sep 2014 18:50:15 -0700 Subject: [PATCH] Fixed issue with second _bind() test --- tests/specs/reactfire.spec.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/specs/reactfire.spec.js b/tests/specs/reactfire.spec.js index 7ccc015..dbd0983 100644 --- a/tests/specs/reactfire.spec.js +++ b/tests/specs/reactfire.spec.js @@ -440,10 +440,8 @@ describe("ReactFireMixin Tests:", function() { componentWillMount: function() { var _this = this; - nonBooleanParams.forEach(function(nonBooleanParam) { - expect(function() { _this._bind(firebaseRef, "items", true); }).not.toThrow(); - expect(function() { _this._bind(firebaseRef, "items", false); }).not.toThrow(); - }); + expect(function() { _this._bind(firebaseRef, "items", true); }).not.toThrow(); + expect(function() { _this._bind(firebaseRef, "items", false); }).not.toThrow(); }, render: function() {