cucumber-rails 0.4.0.beta.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +1 -1
- data/HACKING.rdoc +6 -8
- data/History.txt +18 -2
- data/README.rdoc +8 -10
- data/cucumber-rails.gemspec +10 -6
- data/dev_tasks/cucumber.rake +1 -1
- data/features/allow_rescue.feature +61 -0
- data/features/inspect_query_string.feature +36 -0
- data/features/install_cucumber_rails.feature +16 -0
- data/features/mongoid.feature +53 -0
- data/features/named_selectors.feature +33 -0
- data/features/no_database.feature +69 -0
- data/features/rerun_profile.feature +1 -2
- data/features/rest_api.feature +46 -0
- data/features/routing.feature +21 -0
- data/features/select_dates.feature +25 -0
- data/features/step_definitions/cucumber_rails_steps.rb +65 -4
- data/features/support/env.rb +5 -1
- data/generators/cucumber/cucumber_generator.rb +1 -27
- data/lib/cucumber/rails.rb +3 -20
- data/lib/cucumber/rails/capybara.rb +7 -0
- data/lib/cucumber/rails/capybara/select_dates_and_times.rb +21 -14
- data/lib/cucumber/rails/hooks.rb +3 -0
- data/lib/cucumber/rails/hooks/database_cleaner.rb +16 -3
- data/lib/cucumber/rails/rspec.rb +2 -0
- data/lib/cucumber/rails/version.rb +14 -9
- data/lib/cucumber/rails/world.rb +6 -0
- data/lib/cucumber/rails2.rb +1 -1
- data/lib/cucumber/rails3.rb +7 -7
- data/lib/generators/cucumber/install/install_base.rb +11 -51
- data/templates/install/config/cucumber.yml.erb +1 -1
- data/templates/install/step_definitions/capybara_steps.rb.erb +63 -85
- data/templates/install/step_definitions/web_steps_cs.rb.erb +11 -20
- data/templates/install/step_definitions/web_steps_da.rb.erb +11 -20
- data/templates/install/step_definitions/web_steps_es.rb.erb +11 -20
- data/templates/install/step_definitions/web_steps_ja.rb.erb +1 -0
- data/templates/install/step_definitions/web_steps_ko.rb.erb +1 -0
- data/templates/install/step_definitions/web_steps_no.rb.erb +11 -20
- data/templates/install/step_definitions/web_steps_pt-BR.rb.erb +11 -20
- data/templates/install/step_definitions/webrat_steps.rb.erb +11 -10
- data/templates/install/support/_rails_each_run.rb.erb +3 -19
- data/templates/install/support/edit_warning.txt +19 -5
- data/templates/install/support/selectors.rb +39 -0
- data/templates/install/tasks/cucumber.rake.erb +4 -0
- metadata +100 -82
- data/features/rails2.feature +0 -45
- data/features/rails3.feature +0 -123
- data/features/support/matchers/files.rb +0 -17
- data/spec/generators/cucumber/install/install_base_spec.rb +0 -75
@@ -2,6 +2,17 @@
|
|
2
2
|
<%= embed_file('support/edit_warning.txt') %>
|
3
3
|
|
4
4
|
require File.expand_path(File.join(File.dirname(__FILE__), "..", "support", "paths"))
|
5
|
+
require File.expand_path(File.join(File.dirname(__FILE__), "..", "support", "selectors"))
|
6
|
+
|
7
|
+
# Single-line step scoper
|
8
|
+
Quando /^(.*) dentro de ([^:]+)$/ do |step, parent|
|
9
|
+
with_scope(parent) { Quando step }
|
10
|
+
end
|
11
|
+
|
12
|
+
# Multi-line step scoper
|
13
|
+
Quando /^(.*) dentro de ([^:]+):$/ do |step, parent, table_or_string|
|
14
|
+
with_scope(parent) { Quando "#{step}:", table_or_string }
|
15
|
+
end
|
5
16
|
|
6
17
|
Dado /^que eu estou na (.+)$/ do |page_name|
|
7
18
|
Given %{I am on #{page_name}}
|
@@ -19,10 +30,6 @@ Quando /^eu clico "([^"]*)"$/ do |link|
|
|
19
30
|
When %{I follow "#{link}"}
|
20
31
|
end
|
21
32
|
|
22
|
-
Quando /^eu clico "([^"]*)" dentro de "([^"]*)"$/ do |link, parent|
|
23
|
-
When %{I follow "#{link}" within "#{parent}"}
|
24
|
-
end
|
25
|
-
|
26
33
|
Quando /^eu preencho "([^"]*)" com "([^"]*)"$/ do |field, value|
|
27
34
|
When %{I fill in "#{field}" with "#{value}"}
|
28
35
|
end
|
@@ -87,34 +94,18 @@ Então /^eu devo ver "([^"]*)"$/ do |text|
|
|
87
94
|
Then %{I should see "#{text}"}
|
88
95
|
end
|
89
96
|
|
90
|
-
Então /^eu devo ver "([^"]*)" dentro de "([^"]*)"$/ do |text, selector|
|
91
|
-
Then %{I should see "#{text}" within "#{selector}"}
|
92
|
-
end
|
93
|
-
|
94
97
|
Então /^eu devo ver \/([^\/]*)\/$/ do |regexp|
|
95
98
|
Then %{I should see /#{regexp}/}
|
96
99
|
end
|
97
100
|
|
98
|
-
Então /^eu devo ver \/([^\/]*)\/ dentro de "([^"]*)"$/ do |regexp, selector|
|
99
|
-
Then %{I should see /#{regexp}/ within "#{selector}"}
|
100
|
-
end
|
101
|
-
|
102
101
|
Então /^eu não devo ver "([^"]*)"$/ do |text|
|
103
102
|
Then %{I should not see "#{text}"}
|
104
103
|
end
|
105
104
|
|
106
|
-
Então /^eu não devo ver "([^"]*)" dentro de "([^"]*)"$/ do |text, selector|
|
107
|
-
Then %{I should not see "#{text}" within "#{selector}"}
|
108
|
-
end
|
109
|
-
|
110
105
|
Então /^eu não devo ver \/([^\/]*)\/$/ do |regexp|
|
111
106
|
Then %{I should not see /#{regexp}/}
|
112
107
|
end
|
113
108
|
|
114
|
-
Então /^eu não devo ver \/([^\/]*)\/ dentro de "([^"]*)"$/ do |regexp, selector|
|
115
|
-
Then %{I should not see /#{regexp}/ within "#{selector}"}
|
116
|
-
end
|
117
|
-
|
118
109
|
Então /^o campo "([^"]*)" deve conter "([^"]*)"$/ do |field, value|
|
119
110
|
Then %{the "#{field}" field should contain "#{value}"}
|
120
111
|
end
|
@@ -3,6 +3,7 @@
|
|
3
3
|
require 'uri'
|
4
4
|
require 'cgi'
|
5
5
|
require File.expand_path(File.join(File.dirname(__FILE__), "..", "support", "paths"))
|
6
|
+
require File.expand_path(File.join(File.dirname(__FILE__), "..", "support", "selectors"))
|
6
7
|
|
7
8
|
# Commonly used webrat steps
|
8
9
|
# http://github.com/brynary/webrat
|
@@ -23,8 +24,8 @@ When /^(?:|I )follow "([^"]*)"$/ do |link|
|
|
23
24
|
click_link(link)
|
24
25
|
end
|
25
26
|
|
26
|
-
When /^(?:|I )follow "([^"]*)" within
|
27
|
-
click_link_within(parent, link)
|
27
|
+
When /^(?:|I )follow "([^"]*)" within (.*)$/ do |link, parent|
|
28
|
+
click_link_within(selector_for(parent), link)
|
28
29
|
end
|
29
30
|
|
30
31
|
When /^(?:|I )fill in "([^"]*)" with "([^"]*)"$/ do |field, value|
|
@@ -143,8 +144,8 @@ Then /^(?:|I )should see "([^"]*)"$/ do |text|
|
|
143
144
|
end
|
144
145
|
end
|
145
146
|
|
146
|
-
Then /^(?:|I )should see "([^"]*)" within "([^"]*)"$/ do |text,
|
147
|
-
within(
|
147
|
+
Then /^(?:|I )should see "([^"]*)" within "([^"]*)"$/ do |text, parent|
|
148
|
+
within(selector_for(parent)) do |content|
|
148
149
|
if content.respond_to? :should
|
149
150
|
content.should contain(text)
|
150
151
|
else
|
@@ -163,8 +164,8 @@ Then /^(?:|I )should see \/([^\/]*)\/$/ do |regexp|
|
|
163
164
|
end
|
164
165
|
end
|
165
166
|
|
166
|
-
Then /^(?:|I )should see \/([^\/]*)\/ within
|
167
|
-
within(
|
167
|
+
Then /^(?:|I )should see \/([^\/]*)\/ within (.*)$/ do |regexp, parent|
|
168
|
+
within(selector_for(parent)) do |content|
|
168
169
|
regexp = Regexp.new(regexp)
|
169
170
|
if content.respond_to? :should
|
170
171
|
content.should contain(regexp)
|
@@ -182,8 +183,8 @@ Then /^(?:|I )should not see "([^"]*)"$/ do |text|
|
|
182
183
|
end
|
183
184
|
end
|
184
185
|
|
185
|
-
Then /^(?:|I )should not see "([^"]*)" within
|
186
|
-
within(
|
186
|
+
Then /^(?:|I )should not see "([^"]*)" within (.*)$/ do |text, parent|
|
187
|
+
within(selector_for(parent)) do |content|
|
187
188
|
if content.respond_to? :should_not
|
188
189
|
content.should_not contain(text)
|
189
190
|
else
|
@@ -202,8 +203,8 @@ Then /^(?:|I )should not see \/([^\/]*)\/$/ do |regexp|
|
|
202
203
|
end
|
203
204
|
end
|
204
205
|
|
205
|
-
Then /^(?:|I )should not see \/([^\/]*)\/ within
|
206
|
-
within(
|
206
|
+
Then /^(?:|I )should not see \/([^\/]*)\/ within (.*)$/ do |regexp, parent|
|
207
|
+
within(selector_for(parent)) do |content|
|
207
208
|
regexp = Regexp.new(regexp)
|
208
209
|
if content.respond_to? :should_not
|
209
210
|
content.should_not contain(regexp)
|
@@ -15,22 +15,6 @@
|
|
15
15
|
#
|
16
16
|
ActionController::Base.allow_rescue = false
|
17
17
|
|
18
|
-
|
19
|
-
#
|
20
|
-
|
21
|
-
# a feature or scenario with the @no-txn tag. If you are using Capybara,
|
22
|
-
# tagging with @culerity or @javascript will also turn transactions off.
|
23
|
-
#
|
24
|
-
# If you set this to false, transactions will be off for all scenarios,
|
25
|
-
# regardless of whether you use @no-txn or not.
|
26
|
-
#
|
27
|
-
# Beware that turning transactions off will leave data in your database
|
28
|
-
# after each scenario, which can lead to hard-to-debug failures in
|
29
|
-
# subsequent scenarios. If you do this, we recommend you create a Before
|
30
|
-
# block that will explicitly put your database in a known state.
|
31
|
-
Cucumber::Rails::World.use_transactional_fixtures = true
|
32
|
-
|
33
|
-
<% end -%>
|
34
|
-
# How to clean your database when transactions are turned off. See
|
35
|
-
# http://github.com/bmabey/database_cleaner for more info.
|
36
|
-
# DatabaseCleaner.strategy = :truncation
|
18
|
+
# Remove this line if your app doesn't have a database.
|
19
|
+
# For some databases (like MongoDB and CouchDB) you may need to use :truncation instead.
|
20
|
+
DatabaseCleaner.strategy = :transaction
|
@@ -1,5 +1,19 @@
|
|
1
|
-
#
|
2
|
-
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
#
|
1
|
+
# TL;DR: YOU SHOULD DELETE THIS FILE
|
2
|
+
#
|
3
|
+
# This file iwas generated by Cucumber-Rails and is only here to get you a head start
|
4
|
+
# These step definitions are thin wrappers around the Capybara/Webrat API that lets you
|
5
|
+
# visit pages, interact with widgets and make assertions about page content.
|
6
|
+
#
|
7
|
+
# If you use these step definitions as basis for your features you will quickly end up
|
8
|
+
# with features that are:
|
9
|
+
#
|
10
|
+
# * Hard to maintain
|
11
|
+
# * Verbose to read
|
12
|
+
#
|
13
|
+
# A much better approach is to write your own higher level step definitions, following
|
14
|
+
# the advice in the following blog posts:
|
15
|
+
#
|
16
|
+
# * http://benmabey.com/2008/05/19/imperative-vs-declarative-scenarios-in-user-stories.html
|
17
|
+
# * http://dannorth.net/2011/01/31/whose-domain-is-it-anyway/
|
18
|
+
# * http://elabs.se/blog/15-you-re-cuking-it-wrong
|
19
|
+
#
|
@@ -0,0 +1,39 @@
|
|
1
|
+
module HtmlSelectorsHelpers
|
2
|
+
# Maps a name to a selector. Used primarily by the
|
3
|
+
#
|
4
|
+
# When /^(.+) within (.+)$/ do |step, scope|
|
5
|
+
#
|
6
|
+
# step definitions in web_steps.rb
|
7
|
+
#
|
8
|
+
def selector_for(locator)
|
9
|
+
case locator
|
10
|
+
|
11
|
+
when /the page/
|
12
|
+
"html > body"
|
13
|
+
|
14
|
+
# Add more mappings here.
|
15
|
+
# Here is an example that pulls values out of the Regexp:
|
16
|
+
#
|
17
|
+
# when /the (notice|error|info) flash/
|
18
|
+
# ".flash.#{$1}"
|
19
|
+
|
20
|
+
# You can also return an array to use a different selector
|
21
|
+
# type, like:
|
22
|
+
#
|
23
|
+
# when /the header/
|
24
|
+
# [:xpath, "//header"]
|
25
|
+
|
26
|
+
# This allows you to provide a quoted selector as the scope
|
27
|
+
# for "within" steps as was previously the default for the
|
28
|
+
# web steps:
|
29
|
+
when /"(.+)"/
|
30
|
+
$1
|
31
|
+
|
32
|
+
else
|
33
|
+
raise "Can't find mapping from \"#{locator}\" to a selector.\n" +
|
34
|
+
"Now, go and add a mapping in #{__FILE__}"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
World(HtmlSelectorsHelpers)
|
@@ -38,6 +38,10 @@ begin
|
|
38
38
|
task :features => :cucumber do
|
39
39
|
STDERR.puts "*** The 'features' task is deprecated. See rake -T cucumber ***"
|
40
40
|
end
|
41
|
+
|
42
|
+
# In case we don't have ActiveRecord, append a no-op task that we can depend upon.
|
43
|
+
task 'db:test:prepare' do
|
44
|
+
end
|
41
45
|
rescue LoadError
|
42
46
|
desc 'cucumber rake task not available (cucumber not installed)'
|
43
47
|
task :cucumber do
|
metadata
CHANGED
@@ -1,14 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 4
|
8
|
-
- 0
|
9
|
-
- beta
|
10
|
-
- 1
|
11
|
-
version: 0.4.0.beta.1
|
4
|
+
prerelease:
|
5
|
+
version: 0.4.0
|
12
6
|
platform: ruby
|
13
7
|
authors:
|
14
8
|
- "Aslak Helles\xC3\xB8y"
|
@@ -18,7 +12,7 @@ autorequire:
|
|
18
12
|
bindir: bin
|
19
13
|
cert_chain: []
|
20
14
|
|
21
|
-
date:
|
15
|
+
date: 2011-03-20 00:00:00 +00:00
|
22
16
|
default_executable:
|
23
17
|
dependencies:
|
24
18
|
- !ruby/object:Gem::Dependency
|
@@ -26,121 +20,133 @@ dependencies:
|
|
26
20
|
requirement: &id001 !ruby/object:Gem::Requirement
|
27
21
|
none: false
|
28
22
|
requirements:
|
29
|
-
- -
|
23
|
+
- - ">="
|
30
24
|
- !ruby/object:Gem::Version
|
31
|
-
|
32
|
-
- 0
|
33
|
-
- 10
|
34
|
-
- 0
|
35
|
-
version: 0.10.0
|
25
|
+
version: 0.10.1
|
36
26
|
type: :runtime
|
37
27
|
prerelease: false
|
38
28
|
version_requirements: *id001
|
39
29
|
- !ruby/object:Gem::Dependency
|
40
|
-
name:
|
30
|
+
name: rack-test
|
41
31
|
requirement: &id002 !ruby/object:Gem::Requirement
|
42
32
|
none: false
|
43
33
|
requirements:
|
44
|
-
- -
|
34
|
+
- - ">="
|
45
35
|
- !ruby/object:Gem::Version
|
46
|
-
|
47
|
-
|
48
|
-
- 2
|
49
|
-
- 7
|
50
|
-
version: 0.2.7
|
51
|
-
type: :development
|
36
|
+
version: 0.5.7
|
37
|
+
type: :runtime
|
52
38
|
prerelease: false
|
53
39
|
version_requirements: *id002
|
54
40
|
- !ruby/object:Gem::Dependency
|
55
|
-
name:
|
41
|
+
name: nokogiri
|
56
42
|
requirement: &id003 !ruby/object:Gem::Requirement
|
57
43
|
none: false
|
58
44
|
requirements:
|
59
|
-
- -
|
45
|
+
- - ">="
|
60
46
|
- !ruby/object:Gem::Version
|
61
|
-
|
62
|
-
|
63
|
-
- 0
|
64
|
-
- 3
|
65
|
-
version: 3.0.3
|
66
|
-
type: :development
|
47
|
+
version: 1.4.4
|
48
|
+
type: :runtime
|
67
49
|
prerelease: false
|
68
50
|
version_requirements: *id003
|
69
51
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
52
|
+
name: bundler
|
71
53
|
requirement: &id004 !ruby/object:Gem::Requirement
|
72
54
|
none: false
|
73
55
|
requirements:
|
74
|
-
- -
|
56
|
+
- - ">="
|
75
57
|
- !ruby/object:Gem::Version
|
76
|
-
|
77
|
-
- 1
|
78
|
-
- 3
|
79
|
-
- 2
|
80
|
-
version: 1.3.2
|
58
|
+
version: 1.0.10
|
81
59
|
type: :development
|
82
60
|
prerelease: false
|
83
61
|
version_requirements: *id004
|
84
62
|
- !ruby/object:Gem::Dependency
|
85
|
-
name:
|
63
|
+
name: aruba
|
86
64
|
requirement: &id005 !ruby/object:Gem::Requirement
|
87
65
|
none: false
|
88
66
|
requirements:
|
89
|
-
- -
|
67
|
+
- - ">="
|
90
68
|
- !ruby/object:Gem::Version
|
91
|
-
|
92
|
-
- 2
|
93
|
-
- 2
|
94
|
-
- 0
|
95
|
-
version: 2.2.0
|
69
|
+
version: 0.3.4
|
96
70
|
type: :development
|
97
71
|
prerelease: false
|
98
72
|
version_requirements: *id005
|
99
73
|
- !ruby/object:Gem::Dependency
|
100
|
-
name:
|
74
|
+
name: rails
|
101
75
|
requirement: &id006 !ruby/object:Gem::Requirement
|
102
76
|
none: false
|
103
77
|
requirements:
|
104
|
-
- -
|
78
|
+
- - ">="
|
105
79
|
- !ruby/object:Gem::Version
|
106
|
-
|
107
|
-
- 0
|
108
|
-
- 4
|
109
|
-
- 0
|
110
|
-
version: 0.4.0
|
80
|
+
version: 3.0.3
|
111
81
|
type: :development
|
112
82
|
prerelease: false
|
113
83
|
version_requirements: *id006
|
114
84
|
- !ruby/object:Gem::Dependency
|
115
|
-
name:
|
85
|
+
name: sqlite3-ruby
|
116
86
|
requirement: &id007 !ruby/object:Gem::Requirement
|
117
87
|
none: false
|
118
88
|
requirements:
|
119
|
-
- -
|
89
|
+
- - ">="
|
120
90
|
- !ruby/object:Gem::Version
|
121
|
-
|
122
|
-
- 0
|
123
|
-
- 7
|
124
|
-
- 2
|
125
|
-
version: 0.7.2
|
91
|
+
version: 1.3.3
|
126
92
|
type: :development
|
127
93
|
prerelease: false
|
128
94
|
version_requirements: *id007
|
129
95
|
- !ruby/object:Gem::Dependency
|
130
|
-
name:
|
96
|
+
name: rspec-rails
|
131
97
|
requirement: &id008 !ruby/object:Gem::Requirement
|
132
98
|
none: false
|
133
99
|
requirements:
|
134
|
-
- -
|
100
|
+
- - ">="
|
135
101
|
- !ruby/object:Gem::Version
|
136
|
-
|
137
|
-
- 0
|
138
|
-
- 6
|
139
|
-
- 0
|
140
|
-
version: 0.6.0
|
102
|
+
version: 2.2.0
|
141
103
|
type: :development
|
142
104
|
prerelease: false
|
143
105
|
version_requirements: *id008
|
106
|
+
- !ruby/object:Gem::Dependency
|
107
|
+
name: capybara
|
108
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
109
|
+
none: false
|
110
|
+
requirements:
|
111
|
+
- - ">="
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: 0.4.1
|
114
|
+
type: :development
|
115
|
+
prerelease: false
|
116
|
+
version_requirements: *id009
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: webrat
|
119
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
120
|
+
none: false
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 0.7.3
|
125
|
+
type: :development
|
126
|
+
prerelease: false
|
127
|
+
version_requirements: *id010
|
128
|
+
- !ruby/object:Gem::Dependency
|
129
|
+
name: database_cleaner
|
130
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
131
|
+
none: false
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: 0.6.0
|
136
|
+
type: :development
|
137
|
+
prerelease: false
|
138
|
+
version_requirements: *id011
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: mongoid
|
141
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
142
|
+
none: false
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: 2.0.0.rc.7
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: *id012
|
144
150
|
description: Cucumber Generators and Runtime for Rails
|
145
151
|
email: cukes@googlegroups.com
|
146
152
|
executables: []
|
@@ -166,19 +172,27 @@ files:
|
|
166
172
|
- cucumber-rails.gemspec
|
167
173
|
- dev_tasks/cucumber.rake
|
168
174
|
- dev_tasks/rspec.rake
|
169
|
-
- features/
|
170
|
-
- features/
|
175
|
+
- features/allow_rescue.feature
|
176
|
+
- features/inspect_query_string.feature
|
177
|
+
- features/install_cucumber_rails.feature
|
178
|
+
- features/mongoid.feature
|
179
|
+
- features/named_selectors.feature
|
180
|
+
- features/no_database.feature
|
171
181
|
- features/rerun_profile.feature
|
182
|
+
- features/rest_api.feature
|
183
|
+
- features/routing.feature
|
184
|
+
- features/select_dates.feature
|
172
185
|
- features/step_definitions/cucumber_rails_steps.rb
|
173
186
|
- features/support/env.rb
|
174
|
-
- features/support/matchers/files.rb
|
175
187
|
- generators/cucumber/USAGE
|
176
188
|
- generators/cucumber/cucumber_generator.rb
|
177
189
|
- generators/feature/USAGE
|
178
190
|
- generators/feature/feature_generator.rb
|
179
191
|
- lib/cucumber/rails.rb
|
192
|
+
- lib/cucumber/rails/capybara.rb
|
180
193
|
- lib/cucumber/rails/capybara/javascript_emulation.rb
|
181
194
|
- lib/cucumber/rails/capybara/select_dates_and_times.rb
|
195
|
+
- lib/cucumber/rails/hooks.rb
|
182
196
|
- lib/cucumber/rails/hooks/allow_rescue.rb
|
183
197
|
- lib/cucumber/rails/hooks/database_cleaner.rb
|
184
198
|
- lib/cucumber/rails/hooks/mail.rb
|
@@ -199,7 +213,6 @@ files:
|
|
199
213
|
- lib/generators/cucumber/install/install_base.rb
|
200
214
|
- lib/generators/cucumber/install/install_generator.rb
|
201
215
|
- spec/cucumber/web/tableish_spec.rb
|
202
|
-
- spec/generators/cucumber/install/install_base_spec.rb
|
203
216
|
- spec/spec_helper.rb
|
204
217
|
- templates/feature/feature.erb
|
205
218
|
- templates/feature/steps.erb
|
@@ -223,6 +236,7 @@ files:
|
|
223
236
|
- templates/install/support/paths.rb
|
224
237
|
- templates/install/support/rails.rb.erb
|
225
238
|
- templates/install/support/rails_spork.rb.erb
|
239
|
+
- templates/install/support/selectors.rb
|
226
240
|
- templates/install/support/webrat.rb
|
227
241
|
- templates/install/tasks/cucumber.rake.erb
|
228
242
|
has_rdoc: true
|
@@ -239,34 +253,38 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
239
253
|
requirements:
|
240
254
|
- - ">="
|
241
255
|
- !ruby/object:Gem::Version
|
242
|
-
hash:
|
256
|
+
hash: -74222375310759087
|
243
257
|
segments:
|
244
258
|
- 0
|
245
259
|
version: "0"
|
246
260
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
247
261
|
none: false
|
248
262
|
requirements:
|
249
|
-
- - "
|
263
|
+
- - ">="
|
250
264
|
- !ruby/object:Gem::Version
|
265
|
+
hash: -74222375310759087
|
251
266
|
segments:
|
252
|
-
-
|
253
|
-
|
254
|
-
- 1
|
255
|
-
version: 1.3.1
|
267
|
+
- 0
|
268
|
+
version: "0"
|
256
269
|
requirements: []
|
257
270
|
|
258
271
|
rubyforge_project:
|
259
|
-
rubygems_version: 1.
|
272
|
+
rubygems_version: 1.6.2
|
260
273
|
signing_key:
|
261
274
|
specification_version: 3
|
262
|
-
summary: cucumber-rails-0.4.0
|
275
|
+
summary: cucumber-rails-0.4.0
|
263
276
|
test_files:
|
264
|
-
- features/
|
265
|
-
- features/
|
277
|
+
- features/allow_rescue.feature
|
278
|
+
- features/inspect_query_string.feature
|
279
|
+
- features/install_cucumber_rails.feature
|
280
|
+
- features/mongoid.feature
|
281
|
+
- features/named_selectors.feature
|
282
|
+
- features/no_database.feature
|
266
283
|
- features/rerun_profile.feature
|
284
|
+
- features/rest_api.feature
|
285
|
+
- features/routing.feature
|
286
|
+
- features/select_dates.feature
|
267
287
|
- features/step_definitions/cucumber_rails_steps.rb
|
268
288
|
- features/support/env.rb
|
269
|
-
- features/support/matchers/files.rb
|
270
289
|
- spec/cucumber/web/tableish_spec.rb
|
271
|
-
- spec/generators/cucumber/install/install_base_spec.rb
|
272
290
|
- spec/spec_helper.rb
|