spec/watir_ie_spec.rb in watirsplash-0.2.8 vs spec/watir_ie_spec.rb in watirsplash-0.2.9
- old
+ new
@@ -45,17 +45,9 @@
it "has wait_until" do
lambda {wait_until(0.5) {sleep 0.1; true}}.should_not raise_exception
lambda {wait_until(0.5) {sleep 0.1; false}}.should raise_exception(Watir::WaitHelper::TimeoutError)
end
- it "has wait_until?" do
- result = wait_until? {sleep 0.1; true}
- result.should be_true
-
- result = wait_until?(0.5) {sleep 0.1; false}
- result.should be_false
- end
-
it "closes the browser even when Watir::IE#run_error_checks throws an exception" do
@browser.add_checker lambda {raise "let's fail IE#wait in IE#close"}
@browser.should exist
lambda {@browser.close}.should_not raise_exception
@browser.should_not exist
\ No newline at end of file