Sha256: f1a58984a1af48720ff028e2f09acafd041622be450e635db98067b45955e98f

Contents?: true

Size: 930 Bytes

Versions: 24

Compression:

Stored size: 930 Bytes

Contents

/**
 * @author thatcher
 */

(function(Q){

    Q.describe('Window History',{

        before:function(){
            //setup
        },
        after:function(){
            //tear down
        }    
        
    }).should('provide the required w3c interfaces', function(){

        expect(8);
        ok(history === window.history, "history is window.history");
        ok(history.length,   'history.length');
        ok(history.back,     'history.back');
        ok(history.forward,  'history.forward');
        ok(history.go,       'history.go');
        ok(history.item,     'history.item');
        
        //these are generally secured properties of the history
        //object so we only check that the are defined since
        //trying to access them will throw an exception
        ok('current'  in history,  'history.current');
        ok('previous' in history,  'history.previous');
        
    });
    
})(QUnit);

Version data entries

24 entries across 24 versions & 4 rubygems

Version Path
envjs19-0.3.8.20101029121421 test/specs/window/history.js
envjs-0.3.8 test/specs/window/history.js
envjs-0.3.7 test/specs/window/history.js
envjs-0.3.6 test/specs/window/history.js
envjs-0.3.5 test/specs/window/history.js
envjs-0.3.4 test/specs/window/history.js
envjs-0.3.3 test/specs/window/history.js
envjs-0.3.2 test/specs/window/history.js
envjs-0.3.1 test/specs/window/history.js
envjs-0.3.0 test/specs/window/history.js
envjs-0.2.0 test/specs/window/history.js
envjs-0.1.7 test/specs/window/history.js
envjs-0.1.6 test/specs/window/history.js
envjs-0.1.5 test/specs/window/history.js
envjs-0.1.4 test/specs/window/history.js
envjs-0.1.3 test/specs/window/history.js
harmony-0.5.1 vendor/envjs/test/specs/window/history.js
harmony-0.5 vendor/envjs/test/specs/window/history.js
envjs-0.1.2 test/specs/window/history.js
envjs-0.1.1 test/specs/window/history.js