diff --git a/contrib/ruby/jasmine_spec_builder.rb b/contrib/ruby/jasmine_spec_builder.rb index 22f4d16..a1ce80d 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