lib/pagetience/meditate.rb in pagetience-0.4.0 vs lib/pagetience/meditate.rb in pagetience-0.4.2
- old
+ new
@@ -27,10 +27,10 @@
break if @latest_result == expected
sleep @polling
@timeout = @timeout - @polling
end
- raise Pagetience::Exceptions::Timeout, msg unless @latest_result == expected
+ raise Pagetience::TimeoutError, msg unless @latest_result == expected
@latest_result
end
end
end
\ No newline at end of file