Src & Spec dirs now have same structure; console/, core/, and html/

This commit is contained in:
Davis W. Frank
2011-06-08 18:30:35 -07:00
parent 4c6dafa3f5
commit 86b095e5a4
26 changed files with 77 additions and 37 deletions

View File

@@ -0,0 +1,8 @@
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 }");
});
});