fix(scroll): Replace references to scrollableReferences (#7752)

The demo app won't build due to PR #7630.
This commit is contained in:
Philip Pham
2017-10-13 10:46:05 -07:00
committed by Andrew Seguin
parent b29ac45c0b
commit 9673f63c11
+2 -2
View File
@@ -174,7 +174,7 @@ describe('Scroll Dispatcher', () => {
fixture.detectChanges();
expect(scroll._globalSubscription).toBeNull('Expected no global listeners on init.');
expect(scroll.scrollableReferences.size).toBe(4, 'Expected multiple scrollables');
expect(scroll.scrollContainers.size).toBe(4, 'Expected multiple scrollables');
const subscription = scroll.scrolled(0).subscribe(() => {});
@@ -185,7 +185,7 @@ describe('Scroll Dispatcher', () => {
expect(scroll._globalSubscription).toBeNull(
'Expected global listeners to have been removed after the subscription has stopped.');
expect(scroll.scrollableReferences.size)
expect(scroll.scrollContainers.size)
.toBe(4, 'Expected scrollable count to stay the same');
});