fwtoolkit 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/fwtoolkit/version.rb
CHANGED
data/templates/cucumber/env.rb
CHANGED
@@ -5,13 +5,14 @@ Frank::Cucumber::FrankHelper.use_shelley_from_now_on
|
|
5
5
|
|
6
6
|
APP_BUNDLE_PATH = File.expand_path( '../../../frankified_build/Frankified.app', __FILE__ )
|
7
7
|
|
8
|
-
|
8
|
+
IOS_SDK = '6.0'
|
9
9
|
#XCODE_VERSION = '4.5.1' # not currently used - look out for this in FWToolkit 0.5
|
10
10
|
|
11
11
|
AfterConfiguration do
|
12
12
|
require 'pickle/world'
|
13
13
|
require 'fwtoolkit/test/pickle_steps'
|
14
14
|
require 'fwtoolkit/test/ui_steps'
|
15
|
+
require 'fwtoolkit/test/model_helper'
|
15
16
|
end
|
16
17
|
|
17
18
|
After do |scenario|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'pickle/world'
|
2
2
|
|
3
|
-
def
|
4
|
-
|
3
|
+
def ios_sdk
|
4
|
+
IOS_SDK
|
5
5
|
end
|
6
6
|
|
7
7
|
def xcode_version
|
@@ -13,17 +13,17 @@ def app_path
|
|
13
13
|
end
|
14
14
|
|
15
15
|
Given /^I launch the app in the (iphone|ipad) simulator$/ do |device|
|
16
|
-
launch_app app_path,
|
16
|
+
launch_app app_path, ios_sdk, device
|
17
17
|
end
|
18
18
|
|
19
19
|
Given /^I reset and launch the app in the (iphone|ipad) simulator$/ do |device|
|
20
20
|
fwt_simulator_reset_data ios_sdk_version
|
21
|
-
launch_app app_path,
|
21
|
+
launch_app app_path, ios_sdk, device
|
22
22
|
end
|
23
23
|
|
24
24
|
Given /^I reset and launch the app in the (iphone|ipad) simulator, seeded with #{capture_model}$/ do |device, capture_model|
|
25
25
|
fwt_simulator_reset_data ios_sdk_version
|
26
|
-
launch_app app_path,
|
26
|
+
launch_app app_path, ios_sdk, device
|
27
27
|
fwt_seed_app [capture_model]
|
28
|
-
launch_app app_path,
|
28
|
+
launch_app app_path, ios_sdk, device
|
29
29
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fwtoolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cucumber
|