Sha256: 30b51d405d19b3efaf51ccbb32c875cca3e96c7e1f4c20f8018c89b8ba9d851c

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

describe("j$.pp (HTML Dependent)", function () {
  it("should stringify HTML nodes properly", function() {
    var sampleNode = document.createElement('div');
    sampleNode.innerHTML = 'foo<b>bar</b>';
    expect(j$.pp(sampleNode)).toEqual("HTMLNode");
    expect(j$.pp({foo: sampleNode})).toEqual("{ foo : HTMLNode }");
  });
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jasmine-core-2.0.0.rc2 ./lib/jasmine-core/spec/html/PrettyPrintHtmlSpec.js