From d378ce76e558d875bdedd8c066d6a6391cce5911 Mon Sep 17 00:00:00 2001 From: Christian Williams & Aaron Peckham Date: Fri, 10 Jul 2009 10:31:34 -0700 Subject: [PATCH] More work on meta_spec.rb. --- contrib/ruby/jasmine_spec_builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/ruby/jasmine_spec_builder.rb b/contrib/ruby/jasmine_spec_builder.rb index 22f4d165..a1ce80d8 100644 --- a/contrib/ruby/jasmine_spec_builder.rb +++ b/contrib/ruby/jasmine_spec_builder.rb @@ -46,7 +46,7 @@ module Jasmine end def load_suite_info - while eval_js('typeof reportingBridge == "undefined" || !!!reportingBridge.suiteInfoReady') do + while !eval_js('jasmine.getEnv().currentRunner.finished') do sleep 0.1 end