features/step_definitions/adb_steps.rb in ADB-0.3 vs features/step_definitions/adb_steps.rb in ADB-0.4

- old
+ new

@@ -23,11 +23,17 @@ end Then /^I should be able to install the sample application$/ do sn = devices[0] wait_for_device({:serial => sn}, 60) - install 'features/support/ApiDemos.apk', {:serial => sn}, 60 + install 'features/support/ApiDemos.apk', nil, {:serial => sn}, 60 last_stdout.should include 'Success' +end + +Then /^I should be able to install the sample application using the "(.*?)" option$/ do |option| + sn = devices[0] + wait_for_device({:serial => sn}, 60) + install 'features/support/ApiDemos.apk', option, {:serial => sn}, 60 end Then /^I should be able to uninstall the sample application$/ do sn = devices[0] uninstall 'com.example.android.apis', {:serial => sn}