spec/unit/spec.jquery.js in jspec-3.3.1 vs spec/unit/spec.jquery.js in jspec-3.3.2

- old
+ new

@@ -1,6 +1,23 @@ describe 'jQuery' + describe 'puts()' + it 'should output selector when present' + object = { jquery: '1.3.2', selector: '.foo bar' } + puts(object).should.eql 'selector ".foo bar"' + end + + it 'should output outerHTML otherwise' + puts($('<p>Foo</p>')).should.match(/<p>Foo<\/p>/i) + end + end + + describe 'with elements' + it 'should output the outerHTML' + puts($('<p>Foo</p>').get(0)).should.match(/<p>Foo<\/p>/i) + end + end + describe 'sandbox()' before dom = sandbox() end \ No newline at end of file