Skip to content

Commit

Permalink
Remove reference to mm-icon primaryColor in tests for mm-inline-box
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuwen Qian committed Sep 17, 2015
1 parent c807ada commit e1ffe2a
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions test/mm-inline-box.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,7 @@
var a = new Strand.InlineBox();
should.exist(a.type);
should.equal(a.type, "info");
});


it("should assign corect primaryColor when type is changed", function() {
var a = document.querySelector("#warning"),
expectedColor = Colors.C3,
outputColor = null;

a.type = "error";
outputColor = a.$.icon.primaryColor;
outputColor.should.equal(expectedColor);
});
});å

it("should assign corect icon when type is changed", function() {
var a = document.querySelector("#warning"),
Expand Down

0 comments on commit e1ffe2a

Please sign in to comment.