Skip to content

Commit

Permalink
Remove an unnecessary test, fix FF issue for ddl test
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonykoerber committed Sep 21, 2015
1 parent ca860f1 commit 0325bd7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
15 changes: 0 additions & 15 deletions test/behavior_dommutable.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,21 +148,6 @@
});
});

it("should respond to data manipulation", function(done) {
var a = document.querySelector("#muteTest"),
p = document.querySelector("#origText"),
span = p.querySelector("span"),
s = sinon.spy();

a.addEventListener("modified", s);
span.dataset.id = "someNewId";

flush(function() {
should.equal(s.calledOnce, true);
done();
});
});

});

</script>
3 changes: 1 addition & 2 deletions test/mm-dropdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,12 @@

it("should set panel height correctly based upon maxItems", function(done) {
var ddl = document.querySelector('#ddlData'),
list = null,
list = Polymer.dom(ddl.root).querySelector("#list"),
listHeight = null;

ddl.open();

flush(function() {
list = ddl.$.list;
listHeight = TestHelper.heightIntRounded(list);
listHeight.should.equal(ddl.maxItems * ddl.itemHeight);
done();
Expand Down

0 comments on commit 0325bd7

Please sign in to comment.