lib/calabash-android/wait_helpers.rb in calabash-android-0.9.1.pre2 vs lib/calabash-android/wait_helpers.rb in calabash-android-0.9.2

- old
+ new

@@ -16,11 +16,11 @@ :screenshot_on_error => true } def wait_for(options_or_timeout=DEFAULT_OPTS, &block) #note Hash is preferred, number acceptable for backwards compat - timeout = options_or_timeout || default_timeout default_timeout = DEFAULT_OPTS[:timeout] + timeout = options_or_timeout || default_timeout post_timeout = DEFAULT_OPTS[:post_timeout] retry_frequency = DEFAULT_OPTS[:retry_frequency] timeout_message = DEFAULT_OPTS[:timeout_message] screenshot_on_error = DEFAULT_OPTS[:screenshot_on_error]