From ab688b48048358edd146f7f3a65d9dea0ce75669 Mon Sep 17 00:00:00 2001 From: Philip Pham Date: Thu, 12 Oct 2017 15:06:46 -0700 Subject: [PATCH] fix(scroll): Replace references to scrollableReferences The demo app won't build due to PR #7630. --- src/cdk/scrolling/scroll-dispatcher.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cdk/scrolling/scroll-dispatcher.spec.ts b/src/cdk/scrolling/scroll-dispatcher.spec.ts index 2da6f3a342ca..bd63a5f9b1bb 100644 --- a/src/cdk/scrolling/scroll-dispatcher.spec.ts +++ b/src/cdk/scrolling/scroll-dispatcher.spec.ts @@ -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'); });