Skip to content

Commit ea88d34

Browse files
committed
.
1 parent 5c4b67d commit ea88d34

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/lib/button/button.spec.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import {Component} from '@angular/core';
33
import {By} from '@angular/platform-browser';
44
import {MdButtonModule} from './button';
55
import {ViewportRuler} from '../core/overlay/position/viewport-ruler';
6+
import {FakeViewportRuler} from '../core/overlay/position/fake-viewport-ruler';
67

78

89
describe('MdButton', () => {
@@ -215,14 +216,3 @@ class TestApp {
215216
}
216217
}
217218

218-
class FakeViewportRuler {
219-
getViewportRect() {
220-
return {
221-
left: 0, top: 0, width: 1014, height: 686, bottom: 686, right: 1014
222-
};
223-
}
224-
225-
getViewportScrollPosition() {
226-
return {top: 0, left: 0};
227-
}
228-
}

0 commit comments

Comments
 (0)