Skip to content

Commit

Permalink
test(utils-spec): remove redundant test
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed Oct 7, 2017
1 parent 004f647 commit 4479771
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tests/spec/core/utils-spec.js
Expand Up @@ -267,19 +267,6 @@ describe("Core - Utils", () => {
});
});

describe("$.renameElement", () => {
it("renames the element", () => {
var $div = $("<div><p><a></a></p><b>some text</b></div>").appendTo(
$("body")
);
$div.find("p").renameElement("span");
$div.find("b").renameElement("i");
expect($div.find("span").length).toEqual(1);
expect($div.find("i").text()).toEqual("some text");
$div.remove();
});
});

describe("lead0", () => {
it("prepends 0 only when needed", () => {
expect(utils.lead0("1")).toEqual("01");
Expand Down

0 comments on commit 4479771

Please sign in to comment.