Sha256: 39431e8472188e4ac8a54433d51f7dfa32873327843cc443e302e2924158c825
Contents?: true
Size: 590 Bytes
Versions: 7
Compression:
Stored size: 590 Bytes
Contents
var specsIsXML = function(context){ describe('is XML',function(){ it('should be XML', function(){ expect( context.document.nodeType ).toEqual(9); expect( context.document ).not.toEqual( global.document ); expect(context.isXML(context.document)).toEqual(true); }); }); }; var specsIsNotXML = function(context){ describe('is not XML',function(){ it('should not be XML', function(){ expect( context.document.nodeType ).toEqual(9); expect( context.document ).not.toEqual( global.document ); expect(context.isXML(context.document)).toEqual(false); }); }); };
Version data entries
7 entries across 7 versions & 1 rubygems