lib/calabash-android/wait_helpers.rb in calabash-android-0.5.16.pre1 vs lib/calabash-android/wait_helpers.rb in calabash-android-0.6.0.pre4

- old
+ new

@@ -12,10 +12,10 @@ :timeout => 30, :retry_frequency => 0.3, :post_timeout => 0, :timeout_message => 'Timed out waiting...', :screenshot_on_error => true - }.freeze + } def wait_for(options_or_timeout=DEFAULT_OPTS, &block) #note Hash is preferred, number acceptable for backwards compat default_timeout = 30 timeout = options_or_timeout || default_timeout