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

Commit

Permalink
test(theme): remove duplicated case
Browse files Browse the repository at this point in the history
we are already checking it in helper's test
  • Loading branch information
Kamil Kisiela committed Dec 17, 2015
1 parent 3dd032d commit 40e9a80
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions tests/runs/md-theme-manipulator-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe("formlyMaterial - theme manipulator", () => {
}, options)];

let form = $compile(testUtils.getFormTemplate())($scope);

$scope.$digest();
element = form.find('[ng-model]');
field = $scope.fields[0];
Expand All @@ -55,13 +55,4 @@ describe("formlyMaterial - theme manipulator", () => {
expect(element.attr('md-theme')).toBe('custom');
});

it("should be able to skip md-theme", () => {
compile({
extras: {
skipNgModelAttrsManipulator: true
}
});
expect(element.attr('md-theme')).toBeUndefined();
});

});
});

0 comments on commit 40e9a80

Please sign in to comment.