Added new argument to _bind() test

This commit is contained in:
Jonathan Buchanan
2014-10-26 19:21:05 +00:00
parent c3b88810f8
commit 060b29fb9c

View File

@@ -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() {