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

Commit 40e9a80

Browse files
author
Kamil Kisiela
committed
test(theme): remove duplicated case
we are already checking it in helper's test
1 parent 3dd032d commit 40e9a80

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

tests/runs/md-theme-manipulator-spec.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe("formlyMaterial - theme manipulator", () => {
2828
}, options)];
2929

3030
let form = $compile(testUtils.getFormTemplate())($scope);
31-
31+
3232
$scope.$digest();
3333
element = form.find('[ng-model]');
3434
field = $scope.fields[0];
@@ -55,13 +55,4 @@ describe("formlyMaterial - theme manipulator", () => {
5555
expect(element.attr('md-theme')).toBe('custom');
5656
});
5757

58-
it("should be able to skip md-theme", () => {
59-
compile({
60-
extras: {
61-
skipNgModelAttrsManipulator: true
62-
}
63-
});
64-
expect(element.attr('md-theme')).toBeUndefined();
65-
});
66-
67-
});
58+
});

0 commit comments

Comments
 (0)