Skip to content
This repository was archived by the owner on Jan 22, 2018. It is now read-only.

Commit 3dd032d

Browse files
author
Kamil Kisiela
committed
test(textarea): grow on non textarea types
1 parent 07bfb56 commit 3dd032d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/runs/md-no-autogrow-spec.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,9 @@ describe("formlyMaterial - textarea no autogrow manipulator", () => {
5555
expect(element.attr('md-no-autogrow')).toBeDefined();
5656
});
5757

58-
it("should be able to skip md-no-autogrow", () => {
58+
it("should not add md-no-autogrow on non textarea type", () => {
5959
compile({
60-
extras: {
61-
skipNgModelAttrsManipulator: true
62-
}
60+
type: 'input'
6361
});
6462
expect(element.attr('md-no-autogrow')).toBeUndefined();
6563
});

0 commit comments

Comments
 (0)