Sha256: 03e93703abe17c355bce64905d64977d6c3145b81526a94d513818495d32a3ef

Contents?: true

Size: 794 Bytes

Versions: 1

Compression:

Stored size: 794 Bytes

Contents

require 'pickle/world'

def ios_sdk_version
  IOS_SDK_VERSION
end

def xcode_version
  XCODE_VERSION
end

def app_path
  ENV['APP_BUNDLE_PATH'] || (defined?(APP_BUNDLE_PATH) && APP_BUNDLE_PATH)
end

Given /^I launch the app in the (iphone|ipad) simulator$/ do |device|
  launch_app app_path, ios_sdk_version, device
end

Given /^I reset and launch the app in the (iphone|ipad) simulator$/ do |device|
  fwt_simulator_reset_data ios_sdk_version 
  launch_app app_path, ios_sdk_version, device
end

Given /^I reset and launch the app in the (iphone|ipad) simulator, seeded with #{capture_model}$/ do |device, capture_model|
  fwt_simulator_reset_data ios_sdk_version 
  launch_app app_path, ios_sdk_version, device
  fwt_seed_app [capture_model]
  launch_app app_path, ios_sdk_version, device
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fwtoolkit-0.4.0 templates/cucumber/launch_steps.rb