Sha256: faa69d6adde8bad13ec2a9bfc96d1bbc68b1dd3827c635fc46ac46fdd2ebef4e
Contents?: true
Size: 536 Bytes
Versions: 1
Compression:
Stored size: 536 Bytes
Contents
require 'spec_helper' RSpec.describe SimCtl do describe '#upgrade' do it 'upgrades a device to a newer runtime' do old_runtime = SimCtl.runtime(name: 'iOS 15.2') new_runtime = SimCtl.runtime(name: 'iOS 15.2') device = SimCtl.reset_device 'iPhone 8', SimCtl.devicetype(name: 'iPhone 8'), old_runtime expect(device.runtime.version).to be == old_runtime.version SimCtl.upgrade device, new_runtime device.wait { |d| d.runtime.version == new_runtime.version } device.delete end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simctl-1.6.10 | spec/simctl/upgrade_spec.rb |