~caneypuggies/reformedchurcheslocator/couchapp-backbone

« back to all changes in this revision

Viewing changes to _attachments/js/vendor/jasmine/spec/html/PrettyPrintHtmlSpec.js

  • Committer: Tim Black
  • Date: 2013-09-16 22:50:16 UTC
  • Revision ID: tim@alwaysreformed.com-20130916225016-zk8jiba25z33ew7h
Versioned Bower vendor directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
describe("jasmine.pp (HTML Dependent)", function () {
 
2
  it("should stringify HTML nodes properly", function() {
 
3
    var sampleNode = document.createElement('div');
 
4
    sampleNode.innerHTML = 'foo<b>bar</b>';
 
5
    expect(jasmine.pp(sampleNode)).toEqual("HTMLNode");
 
6
    expect(jasmine.pp({foo: sampleNode})).toEqual("{ foo : HTMLNode }");
 
7
  });
 
8
});