From 413956d8c59b094601d5d828012a772f46e8d2a3 Mon Sep 17 00:00:00 2001 From: Daniel K Date: Wed, 12 Nov 2014 14:44:51 +0300 Subject: [PATCH] fixed failing component unmount test --- spec/react-bacon_spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/react-bacon_spec.js b/spec/react-bacon_spec.js index 3fdffc4..cbeabad 100644 --- a/spec/react-bacon_spec.js +++ b/spec/react-bacon_spec.js @@ -91,12 +91,12 @@ describe('BaconMixin', function() { var component = Utils.renderIntoDocument(); - expect(stream.hasSubscribers()).toBe(true); + expect(stream.dispatcher.hasSubscribers()).toBe(true); var unmounted = React.unmountComponentAtNode(component.getDOMNode().parentNode); expect(unmounted).toBe(true); - expect(stream.hasSubscribers()).toBe(false); + expect(stream.dispatcher.hasSubscribers()).toBe(false); }); }); });