ilesspainfulclient-cucumber 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,18 +5,6 @@
5
5
  <orderEntry type="inheritedJdk" />
6
6
  <orderEntry type="sourceFolder" forTests="false" />
7
7
  <orderEntry type="library" name="JsTD Assertion Framework" level="application" />
8
- <orderEntry type="library" scope="PROVIDED" name="gherkin (v2.5.2, RVM: ruby-1.9.2-p290) [gem]" level="application" />
9
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.0.21, RVM: ruby-1.9.2-p290) [gem]" level="application" />
10
- <orderEntry type="library" scope="PROVIDED" name="term-ansicolor (v1.0.7, RVM: ruby-1.9.2-p290) [gem]" level="application" />
11
- <orderEntry type="library" scope="PROVIDED" name="net-http-persistent (v2.3.2, RVM: ruby-1.9.2-p290) [gem]" level="application" />
12
- <orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.7.1, RVM: ruby-1.9.2-p290) [gem]" level="application" />
13
- <orderEntry type="library" scope="PROVIDED" name="cucumber (v1.1.0, RVM: ruby-1.9.2-p290) [gem]" level="application" />
14
- <orderEntry type="library" scope="PROVIDED" name="rspec (v2.7.0, RVM: ruby-1.9.2-p290) [gem]" level="application" />
15
- <orderEntry type="library" scope="PROVIDED" name="json (v1.6.1, RVM: ruby-1.9.2-p290) [gem]" level="application" />
16
- <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.7.0, RVM: ruby-1.9.2-p290) [gem]" level="application" />
17
- <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.1.3, RVM: ruby-1.9.2-p290) [gem]" level="application" />
18
- <orderEntry type="library" scope="PROVIDED" name="builder (v3.0.0, RVM: ruby-1.9.2-p290) [gem]" level="application" />
19
- <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.7.0, RVM: ruby-1.9.2-p290) [gem]" level="application" />
20
8
  </component>
21
9
  </module>
22
10
 
data/.idea/workspace.xml CHANGED
@@ -46,7 +46,7 @@
46
46
  <file leaf-file-name="operations.rb" pinned="false" current="false" current-in-tab="false">
47
47
  <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/operations.rb">
48
48
  <provider selected="true" editor-type-id="text-editor">
49
- <state line="219" column="52" selection-start="6434" selection-end="6434" vertical-scroll-proportion="-4.3076925">
49
+ <state line="39" column="6" selection-start="862" selection-end="862" vertical-scroll-proportion="-10.384615">
50
50
  <folding />
51
51
  </state>
52
52
  </provider>
@@ -55,7 +55,7 @@
55
55
  <file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
56
56
  <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/version.rb">
57
57
  <provider selected="true" editor-type-id="text-editor">
58
- <state line="2" column="20" selection-start="64" selection-end="64" vertical-scroll-proportion="0.0795756">
58
+ <state line="2" column="20" selection-start="64" selection-end="64" vertical-scroll-proportion="0.03529412">
59
59
  <folding />
60
60
  </state>
61
61
  </provider>
@@ -64,7 +64,7 @@
64
64
  <file leaf-file-name="lesspainful_steps.rb" pinned="false" current="false" current-in-tab="false">
65
65
  <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/lesspainful_steps.rb">
66
66
  <provider selected="true" editor-type-id="text-editor">
67
- <state line="23" column="35" selection-start="572" selection-end="572" vertical-scroll-proportion="0.0">
67
+ <state line="167" column="10" selection-start="4182" selection-end="4182" vertical-scroll-proportion="-109.19231">
68
68
  <folding />
69
69
  </state>
70
70
  </provider>
@@ -94,11 +94,11 @@
94
94
  <option value="$PROJECT_DIR$/features-skeleton/every.feature" />
95
95
  <option value="$PROJECT_DIR$/CHANGES.txt" />
96
96
  <option value="$USER_HOME$/Downloads/productshow2.html" />
97
- <option value="$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/lesspainful_steps.rb" />
98
97
  <option value="$PROJECT_DIR$/features-skeleton/my_first.feature" />
99
98
  <option value="$PROJECT_DIR$/bin/ilesspainful-skeleton" />
100
99
  <option value="$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/operations.rb" />
101
100
  <option value="$PROJECT_DIR$/features-skeleton/support/hooks.rb" />
101
+ <option value="$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/lesspainful_steps.rb" />
102
102
  <option value="$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/version.rb" />
103
103
  </list>
104
104
  </option>
@@ -129,8 +129,6 @@
129
129
  <sortByType />
130
130
  </navigator>
131
131
  <panes>
132
- <pane id="Scope" />
133
- <pane id="Favorites" />
134
132
  <pane id="ProjectPane">
135
133
  <subPane>
136
134
  <PATH>
@@ -181,28 +179,6 @@
181
179
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
182
180
  </PATH_ELEMENT>
183
181
  </PATH>
184
- <PATH>
185
- <PATH_ELEMENT>
186
- <option name="myItemId" value="iLessPainfulClient" />
187
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
188
- </PATH_ELEMENT>
189
- <PATH_ELEMENT>
190
- <option name="myItemId" value="iLessPainfulClient" />
191
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
192
- </PATH_ELEMENT>
193
- <PATH_ELEMENT>
194
- <option name="myItemId" value="lib" />
195
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
196
- </PATH_ELEMENT>
197
- <PATH_ELEMENT>
198
- <option name="myItemId" value="ilesspainfulclient-cucumber" />
199
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
200
- </PATH_ELEMENT>
201
- <PATH_ELEMENT>
202
- <option name="myItemId" value="resources" />
203
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
204
- </PATH_ELEMENT>
205
- </PATH>
206
182
  <PATH>
207
183
  <PATH_ELEMENT>
208
184
  <option name="myItemId" value="iLessPainfulClient" />
@@ -219,16 +195,18 @@
219
195
  </PATH>
220
196
  </subPane>
221
197
  </pane>
198
+ <pane id="Favorites" />
199
+ <pane id="Scope" />
222
200
  </panes>
223
201
  </component>
224
202
  <component name="PropertiesComponent">
225
203
  <property name="options.splitter.main.proportions" value="0.3" />
226
204
  <property name="WebServerToolWindowFactoryState" value="false" />
227
- <property name="options.lastSelected" value="org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable" />
228
205
  <property name="recentsLimit" value="5" />
229
- <property name="GoToClass.includeJavaFiles" value="false" />
230
- <property name="options.searchVisible" value="true" />
206
+ <property name="options.lastSelected" value="org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable" />
231
207
  <property name="options.splitter.details.proportions" value="0.2" />
208
+ <property name="options.searchVisible" value="true" />
209
+ <property name="GoToClass.includeJavaFiles" value="false" />
232
210
  </component>
233
211
  <component name="RecentsManager">
234
212
  <key name="CopyFile.RECENT_KEYS">
@@ -305,13 +283,6 @@
305
283
  <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
306
284
  <method />
307
285
  </configuration>
308
- <configuration default="true" type="JavascriptDebugSession" factoryName="Remote">
309
- <JSRemoteDebuggerConfigurationSettings>
310
- <option name="engineId" value="firefox" />
311
- <option name="fileUrl" value="" />
312
- </JSRemoteDebuggerConfigurationSettings>
313
- <method />
314
- </configuration>
315
286
  <configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
316
287
  <predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
317
288
  <module name="" />
@@ -345,6 +316,13 @@
345
316
  <CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
346
317
  <method />
347
318
  </configuration>
319
+ <configuration default="true" type="JavascriptDebugSession" factoryName="Remote">
320
+ <JSRemoteDebuggerConfigurationSettings>
321
+ <option name="engineId" value="firefox" />
322
+ <option name="fileUrl" value="" />
323
+ </JSRemoteDebuggerConfigurationSettings>
324
+ <method />
325
+ </configuration>
348
326
  <configuration default="true" type="JavascriptDebugSession" factoryName="Local">
349
327
  <JSDebuggerConfigurationSettings>
350
328
  <option name="engineId" value="firefox" />
@@ -407,15 +385,14 @@
407
385
  <servers />
408
386
  </component>
409
387
  <component name="ToolWindowManager">
410
- <frame x="66" y="32" width="999" height="706" extended-state="0" />
388
+ <frame x="444" y="23" width="1328" height="972" extended-state="0" />
411
389
  <editor active="true" />
412
390
  <layout>
413
391
  <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
414
392
  <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
415
- <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3050571" sideWeight="0.99576527" order="1" side_tool="false" content_ui="tabs" />
416
393
  <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
417
394
  <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="11" side_tool="false" content_ui="tabs" />
418
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.36615384" sideWeight="0.6949429" order="0" side_tool="false" content_ui="tabs" />
395
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24309815" sideWeight="0.6949429" order="0" side_tool="false" content_ui="tabs" />
419
396
  <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
420
397
  <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
421
398
  <window_info id="JsTestDriver Server" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
@@ -423,6 +400,7 @@
423
400
  <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
424
401
  <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
425
402
  <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
403
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3050571" sideWeight="0.99576527" order="1" side_tool="false" content_ui="tabs" />
426
404
  <window_info id="Messages" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32863188" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
427
405
  <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
428
406
  <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
@@ -482,11 +460,6 @@
482
460
  <state line="0" column="7" selection-start="7" selection-end="8" vertical-scroll-proportion="0.0" />
483
461
  </provider>
484
462
  </entry>
485
- <entry file="file://$USER_HOME$/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/fileutils.rb">
486
- <provider selected="true" editor-type-id="text-editor">
487
- <state line="1032" column="6" selection-start="30643" selection-end="30643" vertical-scroll-proportion="0.3319672" />
488
- </provider>
489
- </entry>
490
463
  <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber.rb">
491
464
  <provider selected="true" editor-type-id="text-editor">
492
465
  <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
@@ -532,30 +505,28 @@
532
505
  <state line="2" column="23" selection-start="69" selection-end="69" vertical-scroll-proportion="0.0" />
533
506
  </provider>
534
507
  </entry>
535
- <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/lesspainful_steps.rb">
508
+ <entry file="file://$PROJECT_DIR$/features-skeleton/support/hooks.rb">
536
509
  <provider selected="true" editor-type-id="text-editor">
537
- <state line="23" column="35" selection-start="572" selection-end="572" vertical-scroll-proportion="0.0">
538
- <folding />
539
- </state>
510
+ <state line="20" column="76" selection-start="518" selection-end="518" vertical-scroll-proportion="0.0" />
540
511
  </provider>
541
512
  </entry>
542
513
  <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/operations.rb">
543
514
  <provider selected="true" editor-type-id="text-editor">
544
- <state line="219" column="52" selection-start="6434" selection-end="6434" vertical-scroll-proportion="-4.3076925">
515
+ <state line="39" column="6" selection-start="862" selection-end="862" vertical-scroll-proportion="-10.384615">
545
516
  <folding />
546
517
  </state>
547
518
  </provider>
548
519
  </entry>
549
- <entry file="file://$PROJECT_DIR$/features-skeleton/support/hooks.rb">
520
+ <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/lesspainful_steps.rb">
550
521
  <provider selected="true" editor-type-id="text-editor">
551
- <state line="20" column="76" selection-start="518" selection-end="518" vertical-scroll-proportion="0.0">
522
+ <state line="167" column="10" selection-start="4182" selection-end="4182" vertical-scroll-proportion="-109.19231">
552
523
  <folding />
553
524
  </state>
554
525
  </provider>
555
526
  </entry>
556
527
  <entry file="file://$PROJECT_DIR$/lib/ilesspainfulclient-cucumber/version.rb">
557
528
  <provider selected="true" editor-type-id="text-editor">
558
- <state line="2" column="20" selection-start="64" selection-end="64" vertical-scroll-proportion="0.0795756">
529
+ <state line="2" column="20" selection-start="64" selection-end="64" vertical-scroll-proportion="0.03529412">
559
530
  <folding />
560
531
  </state>
561
532
  </provider>
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ilesspainfulclient-cucumber (0.0.7)
4
+ ilesspainfulclient-cucumber (0.0.8)
5
5
  cucumber
6
6
  json
7
7
  net-http-persistent
@@ -61,7 +61,7 @@ end
61
61
 
62
62
  #/^I enter "([^\"]*)" as "([^\"]*)"$/
63
63
  ## -- Entering text directly --##
64
- When /^I type "([^\"]*)" into the "([^\"]*)" text field$/ do |text_to_type, field_name|
64
+ When /^I enter "([^\"]*)" into the "([^\"]*)" text field$/ do |text_to_type, field_name|
65
65
  set_text("textField placeholder:'#{field_name}'", text_to_type)
66
66
  sleep(STEP_PAUSE)
67
67
  end
@@ -77,20 +77,21 @@ When /^I fill in text fields as follows:$/ do |table|
77
77
  end
78
78
  end
79
79
 
80
- #doesn't make sense iOS?
81
- #Then /^I enter "([^\"]*)" into input field number (\d+)$/ do |text, index|
82
- # text_fields_modified = frankly_map( "textField placeholder:'#{field_name}'", "setText:", text_to_type )
83
- # raise "could not find text fields with placeholder '#{field_name}'" if text_fields_modified.empty?
84
- #end
80
+ Then /^I enter "([^\"]*)" into input field number (\d+)$/ do |text, index|
81
+ index = index.to_i
82
+ raise "Index should be positive (was: #{index})" if (index<=0)
83
+ set_text("textField index:#{index-1}",text)
84
+ end
85
85
 
86
86
  When /^I clear "([^\"]*)"$/ do |name|
87
87
  When %Q|I type "" into the "#{name}" text field|
88
88
  end
89
89
 
90
- ##Then /^I clear input field number (\d+)$/ do |index|
91
- # raise "Index should be positive (was: #{index})" if (index<=0)
92
- #
93
- #end
90
+ Then /^I clear input field number (\d+)$/ do |index|
91
+ index = index.to_i
92
+ raise "Index should be positive (was: #{index})" if (index<=0)
93
+ set_text("textField index:#{index-1}","")
94
+ end
94
95
 
95
96
 
96
97
 
@@ -1,5 +1,5 @@
1
1
  module ILessPainfulClient
2
2
  module Cucumber
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ilesspainfulclient-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-01 00:00:00.000000000Z
12
+ date: 2011-12-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cucumber
16
- requirement: &70329632378900 !ruby/object:Gem::Requirement
16
+ requirement: &70148639833400 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70329632378900
24
+ version_requirements: *70148639833400
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &70329632378380 !ruby/object:Gem::Requirement
27
+ requirement: &70148639831760 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '2.0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70329632378380
35
+ version_requirements: *70148639831760
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: json
38
- requirement: &70329632377960 !ruby/object:Gem::Requirement
38
+ requirement: &70148639830280 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70329632377960
46
+ version_requirements: *70148639830280
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: net-http-persistent
49
- requirement: &70329632377500 !ruby/object:Gem::Requirement
49
+ requirement: &70148639829360 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70329632377500
57
+ version_requirements: *70148639829360
58
58
  description: Use cucumber to test native iOS apps running iLessPainful Server
59
59
  email:
60
60
  - karl.krukow@gmail.com
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  version: '0'
140
140
  requirements: []
141
141
  rubyforge_project:
142
- rubygems_version: 1.8.10
142
+ rubygems_version: 1.8.11
143
143
  signing_key:
144
144
  specification_version: 3
145
145
  summary: Use cucumber to test native iOS apps running iLessPainful Server