Sha256: b127fbd8f40d6accab30fa3c5e98e8c1d029066c85327f75478630957626d10d
Contents?: true
Size: 647 Bytes
Versions: 7
Compression:
Stored size: 647 Bytes
Contents
//FYI: shipped with Rails 2.2.2 load("test/vendor/prototype-1.6.0.3.js") module("prototypecompat") test("$ method", function(){ expect(1); equals($("header"), document.getElementById("header")); }); test("$$ method", function(){ expect(1); ok($$(".chain").length == 10, "$$ found correct number of elements"); }); // When this failing test passes, ticket #69 can be closed. // (http://envjs.lighthouseapp.com/projects/21590-envjs/tickets/69-prototypes-down-method-is-unavailable) // test("down method", function(){ expect(1); ok($('main').down('#foo') != undefined, "$('main').down('#foo') successfully found an element"); });
Version data entries
7 entries across 7 versions & 1 rubygems