spec/spec_helper.rb in simctl-1.6.3 vs spec/spec_helper.rb in simctl-1.6.4

- old
+ new

@@ -1,5 +1,6 @@ +require 'cfpropertylist' require 'coveralls' require 'simplecov' SimpleCov.start do add_filter 'spec' end @@ -28,7 +29,12 @@ end def with_rescue(&block) block.class rescue + end + + def plist(path) + plist = CFPropertyList::List.new(file: path) + CFPropertyList.native_types(plist.value) end end