spec/helpers/test_helper.rb in ProMotion-2.2.0 vs spec/helpers/test_helper.rb in ProMotion-2.2.1
- old
+ new
@@ -11,9 +11,13 @@
def self.ios8
UIDevice.currentDevice.systemVersion.to_f >= 8.0 &&
UIDevice.currentDevice.systemVersion.to_f < 9.0
end
+
+ def self.gte_ios8
+ UIDevice.currentDevice.systemVersion.to_f >= 8.0
+ end
end
def silence_warnings(&block)
warn_level = $VERBOSE
$VERBOSE = nil