From 060b29fb9cd6ba906710a4d2984759f2beb7f594 Mon Sep 17 00:00:00 2001 From: Jonathan Buchanan Date: Sun, 26 Oct 2014 19:21:05 +0000 Subject: [PATCH] Added new argument to _bind() test --- tests/specs/reactfire.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/specs/reactfire.spec.js b/tests/specs/reactfire.spec.js index d769db5..a9d6ce2 100644 --- a/tests/specs/reactfire.spec.js +++ b/tests/specs/reactfire.spec.js @@ -470,8 +470,8 @@ describe("ReactFireMixin Tests:", function() { componentWillMount: function() { var _this = this; - expect(function() { _this._bind(firebaseRef, "items", true); }).not.toThrow(); - expect(function() { _this._bind(firebaseRef, "items", false); }).not.toThrow(); + expect(function() { _this._bind(firebaseRef, "items", function() {}, true); }).not.toThrow(); + expect(function() { _this._bind(firebaseRef, "items", function() {}, false); }).not.toThrow(); }, render: function() {