Skip to content

Commit

Permalink
set short timeout for spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jarmo committed Apr 10, 2011
1 parent 9b5308d commit 06fcc0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/text_field_spec.rb
Expand Up @@ -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
Expand Down

0 comments on commit 06fcc0f

Please sign in to comment.