Fixed issue with second _bind() test

This commit is contained in:
jacobawenger
2014-09-13 18:50:15 -07:00
parent 25f9b59b03
commit 3fe583a529

View File

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