Skip to content

Commit

Permalink
Use device methods
Browse files Browse the repository at this point in the history
  • Loading branch information
plu committed Feb 23, 2016
1 parent 6f2d3af commit 3a1eaa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/simctl/command/crud_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ def teardown

should 'boot/shutdown the device created in setup' do
device = SimCtl.device(udid: @device.udid)
SimCtl.boot_device device
device.boot!
device.wait! {|d| d.state == :booted}
SimCtl.shutdown_device device
device.shutdown!
device.wait! {|d| d.state == :shutdown}
end

Expand Down

0 comments on commit 3a1eaa9

Please sign in to comment.