Sha256: 763fd45f1da71d0e9084e4652d50f7a4b6e79210cb4ab33b6718cc556ca742e6

Contents?: true

Size: 347 Bytes

Versions: 22

Compression:

Stored size: 347 Bytes

Contents

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

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
evergreen-1.3.0 lib/jasmine/spec/html/PrettyPrintHtmlSpec.js
evergreen-1.2.0 lib/jasmine/spec/html/PrettyPrintHtmlSpec.js
evergreen-1.1.3 lib/jasmine/spec/html/PrettyPrintHtmlSpec.js
evergreen-1.1.2 lib/jasmine/spec/html/PrettyPrintHtmlSpec.js
evergreen-1.1.0 lib/jasmine/spec/html/PrettyPrintHtmlSpec.js
rally-jasmine-core-1.2.0.3 ./lib/jasmine-core/spec/html/PrettyPrintHtmlSpec.js
evergreen-1.0.1 lib/jasmine/spec/html/PrettyPrintHtmlSpec.js
rally-jasmine-core-1.2.0.2 ./lib/jasmine-core/spec/html/PrettyPrintHtmlSpec.js
jasmine-core-1.3.1 ./lib/jasmine-core/spec/html/PrettyPrintHtmlSpec.js
jasmine-core-1.3.0 ./lib/jasmine-core/spec/html/PrettyPrintHtmlSpec.js
rally-jasmine-core-1.2.0.1 ./lib/jasmine-core/spec/html/PrettyPrintHtmlSpec.js
rally-jasmine-core-1.2.0.0 ./lib/jasmine-core/spec/html/PrettyPrintHtmlSpec.js
jasmine-core-1.2.0 ./lib/jasmine-core/spec/html/PrettyPrintHtmlSpec.js
jasmine-core-1.2.0.rc3 ./lib/jasmine-core/spec/html/PrettyPrintHtmlSpec.js
jasmine-core-1.2.0.rc2 ./lib/jasmine-core/spec/html/PrettyPrintHtmlSpec.js
evergreen-1.0.0 lib/jasmine/spec/html/PrettyPrintHtmlSpec.js
jasmine-core-1.2.0.rc1 ./lib/jasmine-core/spec/html/PrettyPrintHtmlSpec.js
jasmine-core-1.1.0 ./lib/jasmine-core/spec/html/PrettyPrintHtmlSpec.js
jasmine-core-1.1.0.rc4 ./lib/jasmine-core/spec/html/PrettyPrintHtmlSpec.js
jasmine-core-1.1.0.rc3 ./lib/jasmine-core/spec/html/PrettyPrintHtmlSpec.js