spec/amdBindings.spec.js
function(observable, value, callback) {
            var subscription = observable.subscribe(function() {
               subscription.dispose();
               setTimeout(function() {

                   callback();

               }, 50);
            });

            observable(value);
        }
function(observable, value, callback) {
            var subscription = observable.subscribe(function() {
               subscription.dispose();
               setTimeout(function() {

                   callback();

               }, 50);
            });

            observable(value);
        }
function ( observable , value , callback ) { var subscription = observable . subscribe ( function ( ) { subscription . dispose ( ) ; setTimeout ( function ( ) { callback ( ) ; } , 50 ) ; } ) ; observable ( value ) ; }
helper to update an observable, wait, and check result
helper to update an observable wait and check result