Sha256: 786ea0861b3b15363edcae8c68138229d43153c7c12834e288bf08ba49f339b7
Contents?: true
Size: 661 Bytes
Versions: 3
Compression:
Stored size: 661 Bytes
Contents
require 'coveralls' require 'simplecov' SimpleCov.start do add_filter 'spec' end Coveralls.wear! $LOAD_PATH.push File.expand_path("../../lib", __FILE__) require File.dirname(__FILE__) + '/../lib/simctl.rb' if ENV['TRAVIS'] SimCtl.default_timeout = 300 else SimCtl.default_timeout = 60 end unless ENV['CUSTOM_DEVICE_SET_PATH'] == 'false' SimCtl.device_set_path = Dir.mktmpdir 'foo bar' end RSpec.configure do |config| config.tty = true config.expect_with :rspec do |c| c.syntax = :expect end config.mock_with :rspec do |c| c.syntax = :expect end def with_rescue(&block) begin block.class rescue end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
simctl-1.6.2 | spec/spec_helper.rb |
simctl-1.6.1 | spec/spec_helper.rb |
simctl-1.6.0 | spec/spec_helper.rb |