Sha256: 8c157fd49894f8828655d79ac0a7113595d11c3b035e0bc3e7105f83db21e87b

Contents?: true

Size: 400 Bytes

Versions: 4

Compression:

Stored size: 400 Bytes

Contents

load("test/qunit.js");

Envjs("test/index.html", {});

test("'index.html' loaded correctly via 'Envjs()' call", function(){
    expect(1);
    try{ ok(document.getElementById('body').id == "body",
        "'index.html' page content available");
    }catch(e){print(e);}
});

test("window.location= following Envjs() initialization flagged as error",
     function(){
    expect(0);
});

Envjs.wait();

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
smparkes-envjs-0.0.6 test/call-load-test.js
smparkes-envjs-0.0.5 test/call-load-test.js
smparkes-envjs-0.0.4 test/call-load-test.js
smparkes-envjs-0.0.3 test/call-load-test.js