From 06fcc0f6c230db3be34238a9014ed83fd2e8f3a6 Mon Sep 17 00:00:00 2001 From: Jarmo Pertman Date: Sun, 10 Apr 2011 21:36:09 +0300 Subject: [PATCH] set short timeout for spec --- spec/text_field_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/text_field_spec.rb b/spec/text_field_spec.rb index 7f2945cd..da5f1432 100644 --- a/spec/text_field_spec.rb +++ b/spec/text_field_spec.rb @@ -58,6 +58,7 @@ field.hwnd.should be_a(Fixnum) + RAutomation::Window.wait_timeout = 0.1 expect { window.text_field(:class => "non-existing-window").hwnd }. to raise_exception(RAutomation::UnknownTextFieldException) end