lib/simctl/device.rb in simctl-1.5.0 vs lib/simctl/device.rb in simctl-1.5.1

- old
+ new

@@ -124,10 +124,10 @@ end # Reloads the device until the given block returns true # # @return [void] - def wait!(timeout=15) + def wait!(timeout=SimCtl.default_timeout) Timeout::timeout(timeout) do loop do break if yield SimCtl.device(udid: udid) end end