cucumber-websteps 0.9.0 → 0.10.0

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/.gitignore CHANGED
@@ -5,3 +5,4 @@ pkg/*
5
5
  .rvmrc
6
6
  .yardoc/
7
7
  doc/
8
+ tmp/
@@ -1,4 +1,9 @@
1
+ language: ruby
1
2
  rvm:
2
3
  - 1.8.7
3
4
  - 1.9.2
5
+ - 1.9.3
4
6
  - ree
7
+ before_script:
8
+ - "export DISPLAY=:99.0"
9
+ - "sh -e /etc/init.d/xvfb start"
@@ -0,0 +1,45 @@
1
+ Unreleased
2
+ ----------
3
+
4
+ * TODO: add steps to work with tables
5
+ * TODO: added 'about disabled form fields'
6
+ * TODO: handle disabled form fields
7
+
8
+ 0.10.0
9
+ ------
10
+
11
+ * fixed cucumber i18n deprecation warning
12
+ * updated capybara to >= 1.1.2
13
+
14
+ 0.9.0
15
+ -----
16
+
17
+ * added and improved standard cucumber websteps:
18
+ * 'I fill in "field"...' :
19
+
20
+ When I fill in "TextArea" with:
21
+ """
22
+ some
23
+ bla
24
+ bla
25
+ """
26
+
27
+ * 'I fill in the following' now can handle selects, checkboxes and radiobuttons:
28
+
29
+ When I fill in the following:
30
+ | Name | my name |
31
+ | Sex (select) | Male |
32
+ | Accept user agrement (checkbox) | check |
33
+ | Send me letters (checkbox) | uncheck |
34
+ | radio 1 (radio) | choose |
35
+ | Avatar (file) | avatar.png |
36
+ * 'I attach file' step will raise exception if file not found and will search file in features/support/attachments
37
+ * improved 'I should see //...' step to add options to regexp
38
+ * added 'I should be redirected to' step(but not finished)
39
+ * added 'I select following values'
40
+ * added 'I unselect following values'
41
+ * added 'the select "select" should have following options'
42
+ * added 'the following values should be selected'
43
+ * added 'the following values should not be selected'
44
+ * added 'I should see 2 elements kind of ...'
45
+ * added 'I should not see elements kind of ...'
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License
2
+
3
+ Copyright (c) 2008,2009,2010,2011 Aslak Hellesøy and the Cucumber Team.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,6 +1,14 @@
1
1
  Cucumber web steps [![Build Status](http://travis-ci.org/kucaahbe/cucumber-websteps.png)](http://travis-ci.org/kucaahbe/cucumber-websteps)
2
2
  ==========================================================================================================================================
3
3
 
4
+ Attention!!!
5
+
6
+ Before you start, please read [this](http://aslakhellesoy.com/post/11055981222/the-training-wheels-came-off).
7
+
8
+ This gem just collected common browsing step, just to prevent you from repeating self by writing every time this steps in every your project.
9
+
10
+ Write your own steps, use this steps if you <strong>really</strong> need to write in scenario "When I click ..."
11
+
4
12
  Description
5
13
  -----------
6
14
 
data/Rakefile CHANGED
@@ -3,14 +3,25 @@ require 'cucumber'
3
3
  require 'cucumber/rake/task'
4
4
  Bundler::GemHelper.install_tasks
5
5
 
6
- task :default => ['examples:rack_test']
7
- #task :default => ['examples:rack_test','examples:selenium']
6
+ drivers = %w(rack_test selenium)
7
+ test_unit_framework = case RUBY_VERSION
8
+ when '1.8.7'
9
+ 'test_unit'
10
+ when /^1\.9\.\d/
11
+ 'minitest'
12
+ end
13
+ test_frameworks=%W(rspec #{test_unit_framework})
14
+
15
+ task :default => drivers.map { |d| test_frameworks.map { |tf| "examples:#{d}:#{tf}" } }.flatten
8
16
 
9
17
  namespace :examples do
10
- Cucumber::Rake::Task.new(:selenium) do |t|
11
- t.profile='selenium'
12
- end
13
- Cucumber::Rake::Task.new(:rack_test) do |t|
14
- t.profile='rack_test'
18
+ drivers.each do |driver|
19
+ namespace driver do
20
+ test_frameworks.each do |test_framework|
21
+ Cucumber::Rake::Task.new(test_framework,"run features using #{driver} and #{test_framework}") do |t|
22
+ t.profile="#{driver}_#{test_framework}"
23
+ end
24
+ end
25
+ end
15
26
  end
16
27
  end
@@ -0,0 +1,5 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+ require File.join(File.dirname(__FILE__), 'test/app.rb')
4
+
5
+ run TestApp
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
9
9
  s.authors = ["kucaahbe"]
10
10
  s.email = ["kucaahbe@ukr.net"]
11
11
  s.homepage = "http://relishapp.com/kucaahbe/cucumber-websteps"
12
- s.summary = %q{Capybara powered common cucumber web steps for any web application (blackjack and hookers included).}
13
- s.description = %q{Here cucumber web steps collected during BDD practice in different projects, all steps are tested to work with :rack_test and :selenium drivers. Test framework agnostic (you can use them with rspec-1, rspec-2, test/unit and minitest).}
12
+ s.summary = %q{Capybara powered common cucumber web steps.}
13
+ s.description = %q{cucumber web steps, designed to work with any of capybara's drivers. Test framework agnostic (you can use them with rspec-1, rspec-2, test/unit and minitest).}
14
14
 
15
15
  s.rubyforge_project = "cucumber-websteps"
16
16
 
@@ -19,9 +19,12 @@ Gem::Specification.new do |s|
19
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
20
  s.require_paths = ["lib"]
21
21
 
22
- s.add_dependency 'capybara'
23
- s.add_dependency 'cucumber'
22
+ s.add_dependency 'capybara', '>= 1.1.2'
23
+ s.add_dependency 'cucumber', '>= 1.1.1'
24
24
  s.add_dependency 'launchy'
25
25
 
26
26
  s.add_development_dependency 'sinatra'
27
+ s.add_development_dependency 'cucumber-sinatra'
28
+ s.add_development_dependency 'rake'
29
+ s.add_development_dependency 'rspec'
27
30
  end
@@ -1,3 +1,7 @@
1
- <% %w(selenium rack_test).each do |config| %>
2
- <%= config %>: -r features/setup/<%= config %>.rb -r features/support -r features/step_definitions features
3
- <% end %>
1
+ # vim:ft=eruby
2
+ rack_test_rspec: -r rspec -r features/support -r features/profiles/rack_test.rb -r features/step_definitions features
3
+ rack_test_test_unit: -r test/unit -r features/support -r features/profiles/rack_test.rb -r features/step_definitions features
4
+ selenium_rspec: -r rspec -r features/support -r features/profiles/selenium.rb -r features/step_definitions features
5
+ selenium_test_unit: -r test/unit -r features/support -r features/profiles/selenium.rb -r features/step_definitions features
6
+ rack_test_minitest: -r minitest/unit -r features/support -r features/profiles/rack_test.rb -r features/step_definitions features
7
+ selenium_minitest: -r minitest/unit -r features/support -r features/profiles/selenium.rb -r features/step_definitions features
@@ -1,9 +1,16 @@
1
- 0.9.1
2
- -----
1
+ Unreleased
2
+ ----------
3
3
 
4
+ * TODO: add steps to work with tables
4
5
  * TODO: added 'about disabled form fields'
5
6
  * TODO: handle disabled form fields
6
7
 
8
+ 0.10.0
9
+ ------
10
+
11
+ * fixed cucumber i18n deprecation warning
12
+ * updated capybara to >= 1.1.2
13
+
7
14
  0.9.0
8
15
  -----
9
16
 
@@ -0,0 +1,22 @@
1
+ The MIT License
2
+
3
+ Copyright (c) 2008,2009,2010,2011 Aslak Hellesøy and the Cucumber Team.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,6 +1,14 @@
1
1
  Cucumber web steps [![Build Status](http://travis-ci.org/kucaahbe/cucumber-websteps.png)](http://travis-ci.org/kucaahbe/cucumber-websteps)
2
2
  ==========================================================================================================================================
3
3
 
4
+ Attention!!!
5
+
6
+ Before you start, please read [this](http://aslakhellesoy.com/post/11055981222/the-training-wheels-came-off).
7
+
8
+ This gem just collected common browsing step, just to prevent you from repeating self by writing every time this steps in every your project.
9
+
10
+ Write your own steps, use this steps if you <strong>really</strong> need to write in scenario "When I click ..."
11
+
4
12
  Description
5
13
  -----------
6
14
 
@@ -15,33 +23,9 @@ Description
15
23
  * [launchy](http://rubygems.org/gems/launchy) included :)
16
24
  * blackjack and hookers ;)
17
25
 
18
- Install
19
- -------
20
-
21
- ### install gem
22
-
23
- run in console:
24
-
25
- [sudo] gem install cucumber-websteps
26
-
27
- or add to Gemfile:
28
-
29
- gem 'cucumber-websteps'
30
-
31
- ### setup in application
32
-
33
- if you are using rails, then you already <b>have (and know about)</b> following files:
34
-
35
- <b>features/support/paths.rb</b>
36
-
37
- <b>features/support/selectors.rb</b>
38
-
39
- they should be as they is, if you do not have these files or don't know what they are then just add them with [this content](http://gist.github.com/993837)
40
- <script src="https://gist.github.com/993837.js?file=paths.rb"></script>
41
- <script src="https://gist.github.com/993837.js?file=selectors.rb"></script>
42
- and replace (or add) <b>features/step_definitions/web_steps.rb</b> with [this content](http://gist.github.com/993837#file_web_steps.rb)
43
- <script src="https://gist.github.com/993837.js?file=web_steps.rb"></script>
26
+ [Install](http://relishapp.com/kucaahbe/cucumber-websteps)
27
+ ----------------------------------------------------------
44
28
 
45
- 3. run your features!
29
+ and enjoy!
46
30
 
47
- TODO: add footer
31
+ ![Steps:)](http://github.com/kucaahbe/cucumber-websteps/raw/master/steps.jpg)
@@ -0,0 +1,3 @@
1
+ Before do
2
+ Capybara.current_driver = :rack_test
3
+ end
@@ -0,0 +1,3 @@
1
+ Before do
2
+ Capybara.current_driver = :selenium
3
+ end
@@ -1,18 +1,29 @@
1
- ENV['RACK_ENV']='test'
2
- $LOAD_PATH.insert(0,File.dirname(__FILE__))
3
- require 'test_app'
1
+ # Generated by cucumber-sinatra. (Sat May 28 22:45:12 +0300 2011)
2
+
3
+ ENV['RACK_ENV'] = 'test'
4
+
5
+ require File.join(File.dirname(__FILE__), '..', '..', 'test/app.rb')
4
6
 
5
7
  require 'capybara'
6
- require 'capybara/dsl'
7
- World(Capybara)
8
+ require 'capybara/cucumber'
8
9
 
9
10
  Capybara.app = TestApp
10
- Capybara.default_selector = :css
11
+ Capybara.save_and_open_page_path = File.expand_path(File.join(File.dirname(__FILE__),'../../tmp'))
12
+
13
+ class TestAppWorld
14
+ include Capybara::DSL
15
+ if defined?(RSpec)
16
+ include RSpec::Expectations
17
+ include RSpec::Matchers
18
+ else
19
+ begin
20
+ include MiniTest::Assertions
21
+ rescue NameError
22
+ include Test::Unit::Assertions
23
+ end
24
+ end
25
+ end
11
26
 
12
- begin
13
- require 'minitest/unit'
14
- World(MiniTest::Assertions)
15
- rescue LoadError
16
- require 'test/unit'
17
- World(Test::Unit::Assertions)
27
+ World do
28
+ TestAppWorld.new
18
29
  end
@@ -11,7 +11,7 @@ module HtmlSelectorsHelpers
11
11
  when "the page"
12
12
  "html > body"
13
13
  when "table's header"
14
- "table > tr th"
14
+ "table tbody > tr th"
15
15
  when /^paragraphs?$/
16
16
  "p"
17
17
 
@@ -0,0 +1 @@
1
+ # fake file to prevent bundler automatically load the gem
@@ -12,7 +12,7 @@ end
12
12
 
13
13
  Then /^I should be redirected to (.+)$/ do |page|
14
14
  puts 'TODO: make this done'
15
- Then "I should be on #{page}"
15
+ step "I should be on #{page}"
16
16
  end
17
17
 
18
18
  Then /^(?:|I )should see "([^"]*)"$/ do |text|
@@ -21,22 +21,22 @@ When /^(?:|I )fill in the following:$/ do |fields|
21
21
  fields.rows_hash.each do |name, value|
22
22
  case name
23
23
  when select_tag
24
- When %(I select "#{value}" from "#{$1}")
24
+ step %(I select "#{value}" from "#{$1}")
25
25
  when check_box_tag
26
26
  case value
27
27
  when 'check'
28
- When %(I check "#{$1}")
28
+ step %(I check "#{$1}")
29
29
  when 'uncheck'
30
- When %(I uncheck "#{$1}")
30
+ step %(I uncheck "#{$1}")
31
31
  else
32
32
  raise 'checkbox values: check|uncheck!'
33
33
  end
34
34
  when radio_button
35
- When %{I choose "#{$1}"}
35
+ step %{I choose "#{$1}"}
36
36
  when file_field
37
- When %{I attach the file "#{value}" to "#{$1}"}
37
+ step %{I attach the file "#{value}" to "#{$1}"}
38
38
  else
39
- When %{I fill in "#{name}" with "#{value}"}
39
+ step %{I fill in "#{name}" with "#{value}"}
40
40
  end
41
41
  end
42
42
  end
@@ -75,7 +75,7 @@ end
75
75
  Then /^the "([^"]*)" field(?: within (.*))? should contain "([^"]*)"$/ do |field, parent, value|
76
76
  with_scope(parent) do
77
77
  field = find_field(field)
78
- field_value = (field.tag_name == 'textarea') ? field.text : field.value
78
+ field_value = field.value
79
79
  if field_value.respond_to? :should
80
80
  field_value.should =~ /#{value}/
81
81
  else
@@ -87,7 +87,7 @@ end
87
87
  Then /^the "([^"]*)" field(?: within (.*))? should not contain "([^"]*)"$/ do |field, parent, value|
88
88
  with_scope(parent) do
89
89
  field = find_field(field)
90
- field_value = (field.tag_name == 'textarea') ? field.text : field.value
90
+ field_value = field.value
91
91
  if field_value.respond_to? :should_not
92
92
  field_value.should_not =~ /#{value}/
93
93
  else
@@ -1,9 +1,9 @@
1
1
  # Single-line step scoper
2
- When /^(.*) within ([^:]+)$/ do |step, parent|
3
- with_scope(parent) { When step }
2
+ When /^(.*) within ([^:]+)$/ do |step_def, parent|
3
+ with_scope(parent) { step step_def }
4
4
  end
5
5
 
6
6
  # Multi-line step scoper
7
- When /^(.*) within ([^:]+):$/ do |step, parent, table_or_string|
8
- with_scope(parent) { When "#{step}:", table_or_string }
7
+ When /^(.*) within ([^:]+):$/ do |step_def, parent, table_or_string|
8
+ with_scope(parent) { step "#{step_def}:", table_or_string }
9
9
  end
@@ -1,5 +1,5 @@
1
1
  module Cucumber
2
2
  module Websteps
3
- VERSION = "0.9.0"
3
+ VERSION = "0.10.0"
4
4
  end
5
5
  end
@@ -1,7 +1,7 @@
1
1
  require 'sinatra/base'
2
2
  class TestApp < Sinatra::Base
3
3
 
4
- set :views, File.dirname(__FILE__) + '/test_app_views'
4
+ set :views, File.dirname(__FILE__) + '/views'
5
5
 
6
6
  get '/' do
7
7
  erb :home
@@ -25,5 +25,3 @@ class TestApp < Sinatra::Base
25
25
  end
26
26
 
27
27
  end
28
-
29
- TestApp.run! unless defined?(Cucumber)
@@ -1,6 +1,7 @@
1
1
  <a href="/congratulations">some link</a>
2
2
 
3
3
  <table border="1">
4
+ <tbody>
4
5
  <tr>
5
6
  <th>header 1</th>
6
7
  <th>header 2</th>
@@ -30,4 +31,5 @@
30
31
  <td>bla</td>
31
32
  <td>bla</td>
32
33
  </tr>
34
+ </tbody>
33
35
  </table>
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber-websteps
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 55
4
5
  prerelease:
5
- version: 0.9.0
6
+ segments:
7
+ - 0
8
+ - 10
9
+ - 0
10
+ version: 0.10.0
6
11
  platform: ruby
7
12
  authors:
8
13
  - kucaahbe
@@ -10,54 +15,111 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-05-26 00:00:00 +03:00
14
- default_executable:
18
+ date: 2012-01-27 00:00:00 Z
15
19
  dependencies:
16
20
  - !ruby/object:Gem::Dependency
17
- name: capybara
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
21
+ version_requirements: &id001 !ruby/object:Gem::Requirement
20
22
  none: false
21
23
  requirements:
22
24
  - - ">="
23
25
  - !ruby/object:Gem::Version
24
- version: "0"
26
+ hash: 23
27
+ segments:
28
+ - 1
29
+ - 1
30
+ - 2
31
+ version: 1.1.2
32
+ prerelease: false
33
+ requirement: *id001
25
34
  type: :runtime
26
- version_requirements: *id001
35
+ name: capybara
27
36
  - !ruby/object:Gem::Dependency
28
- name: cucumber
37
+ version_requirements: &id002 !ruby/object:Gem::Requirement
38
+ none: false
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ hash: 17
43
+ segments:
44
+ - 1
45
+ - 1
46
+ - 1
47
+ version: 1.1.1
29
48
  prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
49
+ requirement: *id002
50
+ type: :runtime
51
+ name: cucumber
52
+ - !ruby/object:Gem::Dependency
53
+ version_requirements: &id003 !ruby/object:Gem::Requirement
31
54
  none: false
32
55
  requirements:
33
56
  - - ">="
34
57
  - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 0
35
61
  version: "0"
62
+ prerelease: false
63
+ requirement: *id003
36
64
  type: :runtime
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
65
  name: launchy
66
+ - !ruby/object:Gem::Dependency
67
+ version_requirements: &id004 !ruby/object:Gem::Requirement
68
+ none: false
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ hash: 3
73
+ segments:
74
+ - 0
75
+ version: "0"
40
76
  prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
77
+ requirement: *id004
78
+ type: :development
79
+ name: sinatra
80
+ - !ruby/object:Gem::Dependency
81
+ version_requirements: &id005 !ruby/object:Gem::Requirement
42
82
  none: false
43
83
  requirements:
44
84
  - - ">="
45
85
  - !ruby/object:Gem::Version
86
+ hash: 3
87
+ segments:
88
+ - 0
46
89
  version: "0"
47
- type: :runtime
48
- version_requirements: *id003
90
+ prerelease: false
91
+ requirement: *id005
92
+ type: :development
93
+ name: cucumber-sinatra
49
94
  - !ruby/object:Gem::Dependency
50
- name: sinatra
95
+ version_requirements: &id006 !ruby/object:Gem::Requirement
96
+ none: false
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ hash: 3
101
+ segments:
102
+ - 0
103
+ version: "0"
51
104
  prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
105
+ requirement: *id006
106
+ type: :development
107
+ name: rake
108
+ - !ruby/object:Gem::Dependency
109
+ version_requirements: &id007 !ruby/object:Gem::Requirement
53
110
  none: false
54
111
  requirements:
55
112
  - - ">="
56
113
  - !ruby/object:Gem::Version
114
+ hash: 3
115
+ segments:
116
+ - 0
57
117
  version: "0"
118
+ prerelease: false
119
+ requirement: *id007
58
120
  type: :development
59
- version_requirements: *id004
60
- description: Here cucumber web steps collected during BDD practice in different projects, all steps are tested to work with :rack_test and :selenium drivers. Test framework agnostic (you can use them with rspec-1, rspec-2, test/unit and minitest).
121
+ name: rspec
122
+ description: cucumber web steps, designed to work with any of capybara's drivers. Test framework agnostic (you can use them with rspec-1, rspec-2, test/unit and minitest).
61
123
  email:
62
124
  - kucaahbe@ukr.net
63
125
  executables: []
@@ -70,29 +132,28 @@ files:
70
132
  - .gitignore
71
133
  - .travis.yml
72
134
  - .yardopts
135
+ - CHANGELOG.md
73
136
  - Gemfile
137
+ - LICENSE
74
138
  - README.md
75
139
  - Rakefile
140
+ - config.ru
76
141
  - cucumber-websteps.gemspec
77
142
  - cucumber.yml
78
143
  - features/CHANGELOG.md
144
+ - features/LICENSE.md
79
145
  - features/README.md
80
146
  - features/defined_steps/forms_steps.feature
81
147
  - features/defined_steps/simple_steps.feature
82
- - features/setup/rack_test.rb
83
- - features/setup/selenium.rb
148
+ - features/profiles/rack_test.rb
149
+ - features/profiles/selenium.rb
84
150
  - features/step_definitions/web_steps.rb
85
151
  - features/support/attachments/avatar.png
86
152
  - features/support/env.rb
87
153
  - features/support/paths.rb
88
154
  - features/support/selectors.rb
89
- - features/support/test_app.rb
90
- - features/support/test_app_views/congratulations.erb
91
- - features/support/test_app_views/form.erb
92
- - features/support/test_app_views/form_result.erb
93
- - features/support/test_app_views/home.erb
94
- - features/support/test_app_views/layout.erb
95
155
  - lib/_unsorted.rb
156
+ - lib/cucumber-websteps.rb
96
157
  - lib/cucumber/websteps.rb
97
158
  - lib/cucumber/websteps/browsing_steps.rb
98
159
  - lib/cucumber/websteps/debug_steps.rb
@@ -100,7 +161,12 @@ files:
100
161
  - lib/cucumber/websteps/step_scoper.rb
101
162
  - lib/cucumber/websteps/version.rb
102
163
  - steps.jpg
103
- has_rdoc: true
164
+ - test/app.rb
165
+ - test/views/congratulations.erb
166
+ - test/views/form.erb
167
+ - test/views/form_result.erb
168
+ - test/views/home.erb
169
+ - test/views/layout.erb
104
170
  homepage: http://relishapp.com/kucaahbe/cucumber-websteps
105
171
  licenses: []
106
172
 
@@ -114,19 +180,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
180
  requirements:
115
181
  - - ">="
116
182
  - !ruby/object:Gem::Version
183
+ hash: 3
184
+ segments:
185
+ - 0
117
186
  version: "0"
118
187
  required_rubygems_version: !ruby/object:Gem::Requirement
119
188
  none: false
120
189
  requirements:
121
190
  - - ">="
122
191
  - !ruby/object:Gem::Version
192
+ hash: 3
193
+ segments:
194
+ - 0
123
195
  version: "0"
124
196
  requirements: []
125
197
 
126
198
  rubyforge_project: cucumber-websteps
127
- rubygems_version: 1.5.2
199
+ rubygems_version: 1.8.11
128
200
  signing_key:
129
201
  specification_version: 3
130
- summary: Capybara powered common cucumber web steps for any web application (blackjack and hookers included).
202
+ summary: Capybara powered common cucumber web steps.
131
203
  test_files: []
132
204
 
@@ -1,5 +0,0 @@
1
- Capybara.current_driver = :rack_test
2
-
3
- After do
4
- Capybara.reset_sessions!
5
- end
@@ -1,12 +0,0 @@
1
- Capybara.configure do |config|
2
- config.app_host = 'http://localhost:9887'
3
- config.server_port = 9887
4
- end
5
-
6
- Before do
7
- Capybara.current_driver = :selenium
8
- end
9
-
10
- After do
11
- Capybara.reset_sessions!
12
- end