cucumber-rails 0.3.1 → 0.3.2
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/HACKING.rdoc +1 -1
- data/History.txt +9 -2
- data/LICENSE +22 -0
- data/README.rdoc +2 -2
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/cucumber-rails.gemspec +37 -36
- data/features/rails2.feature +50 -85
- data/features/rails3.feature +22 -18
- data/features/rerun_profile.feature +3 -2
- data/features/step_definitions/cucumber_rails_steps.rb +21 -16
- data/features/support/env.rb +1 -1
- data/features/support/matchers/files.rb +2 -2
- data/generators/cucumber/USAGE +1 -2
- data/generators/cucumber/cucumber_generator.rb +3 -4
- data/lib/cucumber/rails/rspec.rb +2 -1
- data/lib/generators/cucumber/install/USAGE +15 -0
- data/lib/generators/cucumber/{skeleton/skeleton_base.rb → install/install_base.rb} +1 -1
- data/lib/generators/cucumber/{skeleton/skeleton_generator.rb → install/install_generator.rb} +4 -4
- data/spec/generators/cucumber/{skeleton/skeleton_base_spec.rb → install/install_base_spec.rb} +3 -3
- data/templates/{skeleton → install}/config/cucumber.yml.erb +0 -0
- data/templates/{skeleton → install}/environments/cucumber.rb.erb +0 -0
- data/templates/{skeleton → install}/script/cucumber +0 -0
- data/templates/{skeleton → install}/step_definitions/capybara_steps.rb.erb +23 -23
- data/templates/{skeleton → install}/step_definitions/web_steps_cs.rb.erb +25 -25
- data/templates/{skeleton → install}/step_definitions/web_steps_da.rb.erb +20 -20
- data/templates/{skeleton → install}/step_definitions/web_steps_de.rb.erb +26 -26
- data/templates/{skeleton → install}/step_definitions/web_steps_es.rb.erb +26 -26
- data/templates/{skeleton → install}/step_definitions/web_steps_ja.rb.erb +28 -28
- data/templates/{skeleton → install}/step_definitions/web_steps_ko.rb.erb +26 -26
- data/templates/{skeleton → install}/step_definitions/web_steps_no.rb.erb +20 -20
- data/templates/{skeleton → install}/step_definitions/web_steps_pt-BR.rb.erb +27 -27
- data/templates/{skeleton → install}/step_definitions/webrat_steps.rb.erb +26 -26
- data/templates/{skeleton → install}/support/_rails_each_run.rb.erb +0 -0
- data/templates/{skeleton → install}/support/_rails_prefork.rb.erb +0 -0
- data/templates/{skeleton → install}/support/capybara.rb +0 -0
- data/templates/{skeleton → install}/support/edit_warning.txt +0 -0
- data/templates/{skeleton → install}/support/paths.rb +0 -0
- data/templates/{skeleton → install}/support/rails.rb.erb +0 -0
- data/templates/{skeleton → install}/support/rails_spork.rb.erb +0 -0
- data/templates/{skeleton → install}/support/webrat.rb +0 -0
- data/templates/{skeleton → install}/tasks/cucumber.rake.erb +0 -0
- metadata +45 -35
- data/lib/generators/cucumber/skeleton/USAGE +0 -21
- data/rvm.yml +0 -22
@@ -11,23 +11,23 @@ Quando /^eu vou para (.+)$/ do |page_name|
|
|
11
11
|
When %{I go to #{page_name}}
|
12
12
|
end
|
13
13
|
|
14
|
-
Quando /^eu aperto "([
|
14
|
+
Quando /^eu aperto "([^"]*)"$/ do |button|
|
15
15
|
When %{I press "#{button}"}
|
16
16
|
end
|
17
17
|
|
18
|
-
Quando /^eu clico "([
|
18
|
+
Quando /^eu clico "([^"]*)"$/ do |link|
|
19
19
|
When %{I follow "#{link}"}
|
20
20
|
end
|
21
21
|
|
22
|
-
Quando /^eu clico "([
|
22
|
+
Quando /^eu clico "([^"]*)" dentro de "([^"]*)"$/ do |link, parent|
|
23
23
|
When %{I follow "#{link}" within "#{parent}"}
|
24
24
|
end
|
25
25
|
|
26
|
-
Quando /^eu preencho "([
|
26
|
+
Quando /^eu preencho "([^"]*)" com "([^"]*)"$/ do |field, value|
|
27
27
|
When %{I fill in "#{field}" with "#{value}"}
|
28
28
|
end
|
29
29
|
|
30
|
-
Quando /^eu preencho "([
|
30
|
+
Quando /^eu preencho "([^"]*)" para "([^"]*)"$/ do |value, field|
|
31
31
|
When %{I fill in "#{value}" for "#{field}"}
|
32
32
|
end
|
33
33
|
|
@@ -35,59 +35,59 @@ Quando /^eu preencho o seguinte:$/ do |fields|
|
|
35
35
|
When %{I fill in the following:}, fields
|
36
36
|
end
|
37
37
|
|
38
|
-
Quando /^eu seleciono "([
|
38
|
+
Quando /^eu seleciono "([^"]*)" de "([^"]*)"$/ do |value, field|
|
39
39
|
When %{I select "#{value}" from "#{field}"}
|
40
40
|
end
|
41
41
|
|
42
|
-
Quando /^eu seleciono "([
|
42
|
+
Quando /^eu seleciono "([^"]*)" como a data e a hora$/ do |time|
|
43
43
|
When %{I select "#{time}" as the date and time}
|
44
44
|
end
|
45
45
|
|
46
|
-
Quando /^eu seleciono "([
|
46
|
+
Quando /^eu seleciono "([^"]*)" como a data e a hora "([^"]*)"$/ do |datetime, datetime_label|
|
47
47
|
When %{I select "#{datetime}" as the "#{datetime_label}" date and time}
|
48
48
|
end
|
49
49
|
|
50
|
-
Quando /^eu seleciono "([
|
50
|
+
Quando /^eu seleciono "([^"]*)" como a hora$/ do |time|
|
51
51
|
When %{I select "#{time}" as the time}
|
52
52
|
end
|
53
53
|
|
54
|
-
Quando /^eu seleciono "([
|
54
|
+
Quando /^eu seleciono "([^"]*)" como a hora "([^"]*)"$/ do |time, time_label|
|
55
55
|
When %{I select "#{time}" as the "#{time_label}" time}
|
56
56
|
end
|
57
57
|
|
58
|
-
Quando /^eu seleciono "([
|
58
|
+
Quando /^eu seleciono "([^"]*)" como a data$/ do |date|
|
59
59
|
When %{I select "#{date}" as the date}
|
60
60
|
end
|
61
61
|
|
62
|
-
Quando /^eu seleciono "([
|
62
|
+
Quando /^eu seleciono "([^"]*)" como a data "([^"]*)"$/ do |date, date_label|
|
63
63
|
When %{I select "#{date}" as the "#{date_label}" date}
|
64
64
|
end
|
65
65
|
|
66
|
-
Quando /^eu seleciono "([
|
66
|
+
Quando /^eu seleciono "([^"]*)" como "([^"]*)"$/ do |date, date_label|
|
67
67
|
When %{I select "#{date}" as the "#{date_label}" date}
|
68
68
|
end
|
69
69
|
|
70
|
-
Quando /^eu marco "([
|
70
|
+
Quando /^eu marco "([^"]*)"$/ do |field|
|
71
71
|
When %{I check "#{field}"}
|
72
72
|
end
|
73
73
|
|
74
|
-
Quando /^eu desmarco "([
|
74
|
+
Quando /^eu desmarco "([^"]*)"$/ do |field|
|
75
75
|
When %{I uncheck "#{field}"}
|
76
76
|
end
|
77
77
|
|
78
|
-
Quando /^eu escolho "([
|
78
|
+
Quando /^eu escolho "([^"]*)"$/ do |field|
|
79
79
|
When %{I choose "#{field}"}
|
80
80
|
end
|
81
81
|
|
82
|
-
Quando /^eu anexo o arquivo em "([
|
82
|
+
Quando /^eu anexo o arquivo em "([^"]*)" a "([^"]*)"$/ do |path, field|
|
83
83
|
When %{I attach the file "#{path}" to "#{field}"}
|
84
84
|
end
|
85
85
|
|
86
|
-
Então /^eu devo ver "([
|
86
|
+
Então /^eu devo ver "([^"]*)"$/ do |text|
|
87
87
|
Then %{I should see "#{text}"}
|
88
88
|
end
|
89
89
|
|
90
|
-
Então /^eu devo ver "([
|
90
|
+
Então /^eu devo ver "([^"]*)" dentro de "([^"]*)"$/ do |text, selector|
|
91
91
|
Then %{I should see "#{text}" within "#{selector}"}
|
92
92
|
end
|
93
93
|
|
@@ -95,15 +95,15 @@ Então /^eu devo ver \/([^\/]*)\/$/ do |regexp|
|
|
95
95
|
Then %{I should see /#{regexp}/}
|
96
96
|
end
|
97
97
|
|
98
|
-
Então /^eu devo ver \/([^\/]*)\/ dentro de "([
|
98
|
+
Então /^eu devo ver \/([^\/]*)\/ dentro de "([^"]*)"$/ do |regexp, selector|
|
99
99
|
Then %{I should see /#{regexp}/ within "#{selector}"}
|
100
100
|
end
|
101
101
|
|
102
|
-
Então /^eu não devo ver "([
|
102
|
+
Então /^eu não devo ver "([^"]*)"$/ do |text|
|
103
103
|
Then %{I should not see "#{text}"}
|
104
104
|
end
|
105
105
|
|
106
|
-
Então /^eu não devo ver "([
|
106
|
+
Então /^eu não devo ver "([^"]*)" dentro de "([^"]*)"$/ do |text, selector|
|
107
107
|
Then %{I should not see "#{text}" within "#{selector}"}
|
108
108
|
end
|
109
109
|
|
@@ -111,23 +111,23 @@ Então /^eu não devo ver \/([^\/]*)\/$/ do |regexp|
|
|
111
111
|
Then %{I should not see /#{regexp}/}
|
112
112
|
end
|
113
113
|
|
114
|
-
Então /^eu não devo ver \/([^\/]*)\/ dentro de "([
|
114
|
+
Então /^eu não devo ver \/([^\/]*)\/ dentro de "([^"]*)"$/ do |regexp, selector|
|
115
115
|
Then %{I should not see /#{regexp}/ within "#{selector}"}
|
116
116
|
end
|
117
117
|
|
118
|
-
Então /^o campo "([
|
118
|
+
Então /^o campo "([^"]*)" deve conter "([^"]*)"$/ do |field, value|
|
119
119
|
Then %{the "#{field}" field should contain "#{value}"}
|
120
120
|
end
|
121
121
|
|
122
|
-
Então /^o campo "([
|
122
|
+
Então /^o campo "([^"]*)" não deve conter "([^"]*)"$/ do |field, value|
|
123
123
|
Then %{the "#{field}" field should not contain "#{value}"}
|
124
124
|
end
|
125
125
|
|
126
|
-
Então /^o checkbox "([
|
126
|
+
Então /^o checkbox "([^"]*)" deve estar marcado$/ do |label|
|
127
127
|
Then %{the "#{label}" checkbox should be checked}
|
128
128
|
end
|
129
129
|
|
130
|
-
Então /^o checkbox "([
|
130
|
+
Então /^o checkbox "([^"]*)" não deve estar marcado$/ do |label|
|
131
131
|
Then %{the "#{label}" checkbox should not be checked}
|
132
132
|
end
|
133
133
|
|
@@ -15,23 +15,23 @@ When /^(?:|I )go to (.+)$/ do |page_name|
|
|
15
15
|
visit path_to(page_name)
|
16
16
|
end
|
17
17
|
|
18
|
-
When /^(?:|I )press "([
|
18
|
+
When /^(?:|I )press "([^"]*)"$/ do |button|
|
19
19
|
click_button(button)
|
20
20
|
end
|
21
21
|
|
22
|
-
When /^(?:|I )follow "([
|
22
|
+
When /^(?:|I )follow "([^"]*)"$/ do |link|
|
23
23
|
click_link(link)
|
24
24
|
end
|
25
25
|
|
26
|
-
When /^(?:|I )follow "([
|
26
|
+
When /^(?:|I )follow "([^"]*)" within "([^"]*)"$/ do |link, parent|
|
27
27
|
click_link_within(parent, link)
|
28
28
|
end
|
29
29
|
|
30
|
-
When /^(?:|I )fill in "([
|
30
|
+
When /^(?:|I )fill in "([^"]*)" with "([^"]*)"$/ do |field, value|
|
31
31
|
fill_in(field, :with => value)
|
32
32
|
end
|
33
33
|
|
34
|
-
When /^(?:|I )fill in "([
|
34
|
+
When /^(?:|I )fill in "([^"]*)" for "([^"]*)"$/ do |value, field|
|
35
35
|
fill_in(field, :with => value)
|
36
36
|
end
|
37
37
|
|
@@ -52,13 +52,13 @@ When /^(?:|I )fill in the following:$/ do |fields|
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
|
-
When /^(?:|I )select "([
|
55
|
+
When /^(?:|I )select "([^"]*)" from "([^"]*)"$/ do |value, field|
|
56
56
|
select(value, :from => field)
|
57
57
|
end
|
58
58
|
|
59
59
|
# Use this step in conjunction with Rail's datetime_select helper. For example:
|
60
60
|
# When I select "December 25, 2008 10:00" as the date and time
|
61
|
-
When /^(?:|I )select "([
|
61
|
+
When /^(?:|I )select "([^"]*)" as the date and time$/ do |time|
|
62
62
|
select_datetime(time)
|
63
63
|
end
|
64
64
|
|
@@ -71,7 +71,7 @@ end
|
|
71
71
|
# The following steps would fill out the form:
|
72
72
|
# When I select "November 23, 2004 11:20" as the "Preferred" date and time
|
73
73
|
# And I select "November 25, 2004 10:30" as the "Alternative" date and time
|
74
|
-
When /^(?:|I )select "([
|
74
|
+
When /^(?:|I )select "([^"]*)" as the "([^"]*)" date and time$/ do |datetime, datetime_label|
|
75
75
|
select_datetime(datetime, :from => datetime_label)
|
76
76
|
end
|
77
77
|
|
@@ -79,46 +79,46 @@ end
|
|
79
79
|
# When I select "2:20PM" as the time
|
80
80
|
# Note: Rail's default time helper provides 24-hour time-- not 12 hour time. Webrat
|
81
81
|
# will convert the 2:20PM to 14:20 and then select it.
|
82
|
-
When /^(?:|I )select "([
|
82
|
+
When /^(?:|I )select "([^"]*)" as the time$/ do |time|
|
83
83
|
select_time(time)
|
84
84
|
end
|
85
85
|
|
86
86
|
# Use this step when using multiple time_select helpers on a page or you want to
|
87
87
|
# specify the name of the time on the form. For example:
|
88
88
|
# When I select "7:30AM" as the "Gym" time
|
89
|
-
When /^(?:|I )select "([
|
89
|
+
When /^(?:|I )select "([^"]*)" as the "([^"]*)" time$/ do |time, time_label|
|
90
90
|
select_time(time, :from => time_label)
|
91
91
|
end
|
92
92
|
|
93
93
|
# Use this step in conjunction with Rail's date_select helper. For example:
|
94
94
|
# When I select "February 20, 1981" as the date
|
95
|
-
When /^(?:|I )select "([
|
95
|
+
When /^(?:|I )select "([^"]*)" as the date$/ do |date|
|
96
96
|
select_date(date)
|
97
97
|
end
|
98
98
|
|
99
99
|
# Use this step when using multiple date_select helpers on one page or
|
100
100
|
# you want to specify the name of the date on the form. For example:
|
101
101
|
# When I select "April 26, 1982" as the "Date of Birth" date
|
102
|
-
When /^(?:|I )select "([
|
102
|
+
When /^(?:|I )select "([^"]*)" as the "([^"]*)" date$/ do |date, date_label|
|
103
103
|
select_date(date, :from => date_label)
|
104
104
|
end
|
105
105
|
|
106
|
-
When /^(?:|I )check "([
|
106
|
+
When /^(?:|I )check "([^"]*)"$/ do |field|
|
107
107
|
check(field)
|
108
108
|
end
|
109
109
|
|
110
|
-
When /^(?:|I )uncheck "([
|
110
|
+
When /^(?:|I )uncheck "([^"]*)"$/ do |field|
|
111
111
|
uncheck(field)
|
112
112
|
end
|
113
113
|
|
114
|
-
When /^(?:|I )choose "([
|
114
|
+
When /^(?:|I )choose "([^"]*)"$/ do |field|
|
115
115
|
choose(field)
|
116
116
|
end
|
117
117
|
|
118
118
|
# Adds support for validates_attachment_content_type. Without the mime-type getting
|
119
119
|
# passed to attach_file() you will get a "Photo file is not one of the allowed file types."
|
120
120
|
# error message
|
121
|
-
When /^(?:|I )attach the file "([
|
121
|
+
When /^(?:|I )attach the file "([^"]*)" to "([^"]*)"$/ do |path, field|
|
122
122
|
type = path.split(".")[1]
|
123
123
|
|
124
124
|
case type
|
@@ -135,7 +135,7 @@ When /^(?:|I )attach the file "([^\"]*)" to "([^\"]*)"$/ do |path, field|
|
|
135
135
|
attach_file(field, path, type)
|
136
136
|
end
|
137
137
|
|
138
|
-
Then /^(?:|I )should see "([
|
138
|
+
Then /^(?:|I )should see "([^"]*)"$/ do |text|
|
139
139
|
if response.respond_to? :should
|
140
140
|
response.should contain(text)
|
141
141
|
else
|
@@ -143,7 +143,7 @@ Then /^(?:|I )should see "([^\"]*)"$/ do |text|
|
|
143
143
|
end
|
144
144
|
end
|
145
145
|
|
146
|
-
Then /^(?:|I )should see "([
|
146
|
+
Then /^(?:|I )should see "([^"]*)" within "([^"]*)"$/ do |text, selector|
|
147
147
|
within(selector) do |content|
|
148
148
|
if content.respond_to? :should
|
149
149
|
content.should contain(text)
|
@@ -163,7 +163,7 @@ Then /^(?:|I )should see \/([^\/]*)\/$/ do |regexp|
|
|
163
163
|
end
|
164
164
|
end
|
165
165
|
|
166
|
-
Then /^(?:|I )should see \/([^\/]*)\/ within "([
|
166
|
+
Then /^(?:|I )should see \/([^\/]*)\/ within "([^"]*)"$/ do |regexp, selector|
|
167
167
|
within(selector) do |content|
|
168
168
|
regexp = Regexp.new(regexp)
|
169
169
|
if content.respond_to? :should
|
@@ -174,7 +174,7 @@ Then /^(?:|I )should see \/([^\/]*)\/ within "([^\"]*)"$/ do |regexp, selector|
|
|
174
174
|
end
|
175
175
|
end
|
176
176
|
|
177
|
-
Then /^(?:|I )should not see "([
|
177
|
+
Then /^(?:|I )should not see "([^"]*)"$/ do |text|
|
178
178
|
if response.respond_to? :should_not
|
179
179
|
response.should_not contain(text)
|
180
180
|
else
|
@@ -182,7 +182,7 @@ Then /^(?:|I )should not see "([^\"]*)"$/ do |text|
|
|
182
182
|
end
|
183
183
|
end
|
184
184
|
|
185
|
-
Then /^(?:|I )should not see "([
|
185
|
+
Then /^(?:|I )should not see "([^"]*)" within "([^"]*)"$/ do |text, selector|
|
186
186
|
within(selector) do |content|
|
187
187
|
if content.respond_to? :should_not
|
188
188
|
content.should_not contain(text)
|
@@ -202,7 +202,7 @@ Then /^(?:|I )should not see \/([^\/]*)\/$/ do |regexp|
|
|
202
202
|
end
|
203
203
|
end
|
204
204
|
|
205
|
-
Then /^(?:|I )should not see \/([^\/]*)\/ within "([
|
205
|
+
Then /^(?:|I )should not see \/([^\/]*)\/ within "([^"]*)"$/ do |regexp, selector|
|
206
206
|
within(selector) do |content|
|
207
207
|
regexp = Regexp.new(regexp)
|
208
208
|
if content.respond_to? :should_not
|
@@ -213,7 +213,7 @@ Then /^(?:|I )should not see \/([^\/]*)\/ within "([^\"]*)"$/ do |regexp, select
|
|
213
213
|
end
|
214
214
|
end
|
215
215
|
|
216
|
-
Then /^the "([
|
216
|
+
Then /^the "([^"]*)" field should contain "([^"]*)"$/ do |field, value|
|
217
217
|
field_value = field_labeled(field).value
|
218
218
|
if field_value.respond_to? :should
|
219
219
|
field_value.should =~ /#{value}/
|
@@ -222,7 +222,7 @@ Then /^the "([^\"]*)" field should contain "([^\"]*)"$/ do |field, value|
|
|
222
222
|
end
|
223
223
|
end
|
224
224
|
|
225
|
-
Then /^the "([
|
225
|
+
Then /^the "([^"]*)" field should not contain "([^"]*)"$/ do |field, value|
|
226
226
|
field_value = field_labeled(field).value
|
227
227
|
if field_value.respond_to? :should_not
|
228
228
|
field_value.should_not =~ /#{value}/
|
@@ -231,7 +231,7 @@ Then /^the "([^\"]*)" field should not contain "([^\"]*)"$/ do |field, value|
|
|
231
231
|
end
|
232
232
|
end
|
233
233
|
|
234
|
-
Then /^the "([
|
234
|
+
Then /^the "([^"]*)" checkbox should be checked$/ do |label|
|
235
235
|
field = field_labeled(label)
|
236
236
|
if field.respond_to? :should
|
237
237
|
field.should be_checked
|
@@ -240,7 +240,7 @@ Then /^the "([^\"]*)" checkbox should be checked$/ do |label|
|
|
240
240
|
end
|
241
241
|
end
|
242
242
|
|
243
|
-
Then /^the "([
|
243
|
+
Then /^the "([^"]*)" checkbox should not be checked$/ do |label|
|
244
244
|
field = field_labeled(label)
|
245
245
|
if field.respond_to? :should_not
|
246
246
|
field.should_not be_checked
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 23
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
9
|
+
- 2
|
10
|
+
version: 0.3.2
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- "Dennis Bl\xC3\xB6te"
|
@@ -16,30 +17,34 @@ autorequire:
|
|
16
17
|
bindir: bin
|
17
18
|
cert_chain: []
|
18
19
|
|
19
|
-
date: 2010-
|
20
|
+
date: 2010-06-06 00:00:00 -04:00
|
20
21
|
default_executable:
|
21
22
|
dependencies:
|
22
23
|
- !ruby/object:Gem::Dependency
|
23
24
|
name: cucumber
|
24
25
|
prerelease: false
|
25
26
|
requirement: &id001 !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
26
28
|
requirements:
|
27
29
|
- - ">="
|
28
30
|
- !ruby/object:Gem::Version
|
31
|
+
hash: 63
|
29
32
|
segments:
|
30
33
|
- 0
|
31
|
-
-
|
32
|
-
-
|
33
|
-
version: 0.
|
34
|
+
- 8
|
35
|
+
- 0
|
36
|
+
version: 0.8.0
|
34
37
|
type: :runtime
|
35
38
|
version_requirements: *id001
|
36
39
|
- !ruby/object:Gem::Dependency
|
37
40
|
name: aruba
|
38
41
|
prerelease: false
|
39
42
|
requirement: &id002 !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
40
44
|
requirements:
|
41
45
|
- - ">="
|
42
46
|
- !ruby/object:Gem::Version
|
47
|
+
hash: 9
|
43
48
|
segments:
|
44
49
|
- 0
|
45
50
|
- 1
|
@@ -54,11 +59,13 @@ executables: []
|
|
54
59
|
extensions: []
|
55
60
|
|
56
61
|
extra_rdoc_files:
|
62
|
+
- LICENSE
|
57
63
|
- README.rdoc
|
58
64
|
files:
|
59
65
|
- .gitignore
|
60
66
|
- HACKING.rdoc
|
61
67
|
- History.txt
|
68
|
+
- LICENSE
|
62
69
|
- README.rdoc
|
63
70
|
- Rakefile
|
64
71
|
- VERSION
|
@@ -87,38 +94,37 @@ files:
|
|
87
94
|
- lib/generators/cucumber/feature/feature_base.rb
|
88
95
|
- lib/generators/cucumber/feature/feature_generator.rb
|
89
96
|
- lib/generators/cucumber/feature/named_arg.rb
|
90
|
-
- lib/generators/cucumber/
|
91
|
-
- lib/generators/cucumber/
|
92
|
-
- lib/generators/cucumber/
|
93
|
-
- rvm.yml
|
97
|
+
- lib/generators/cucumber/install/USAGE
|
98
|
+
- lib/generators/cucumber/install/install_base.rb
|
99
|
+
- lib/generators/cucumber/install/install_generator.rb
|
94
100
|
- spec/cucumber/web/tableish_spec.rb
|
95
|
-
- spec/generators/cucumber/
|
101
|
+
- spec/generators/cucumber/install/install_base_spec.rb
|
96
102
|
- spec/spec.opts
|
97
103
|
- spec/spec_helper.rb
|
98
104
|
- templates/feature/feature.erb
|
99
105
|
- templates/feature/steps.erb
|
100
|
-
- templates/
|
101
|
-
- templates/
|
102
|
-
- templates/
|
103
|
-
- templates/
|
104
|
-
- templates/
|
105
|
-
- templates/
|
106
|
-
- templates/
|
107
|
-
- templates/
|
108
|
-
- templates/
|
109
|
-
- templates/
|
110
|
-
- templates/
|
111
|
-
- templates/
|
112
|
-
- templates/
|
113
|
-
- templates/
|
114
|
-
- templates/
|
115
|
-
- templates/
|
116
|
-
- templates/
|
117
|
-
- templates/
|
118
|
-
- templates/
|
119
|
-
- templates/
|
120
|
-
- templates/
|
121
|
-
- templates/
|
106
|
+
- templates/install/config/cucumber.yml.erb
|
107
|
+
- templates/install/environments/cucumber.rb.erb
|
108
|
+
- templates/install/script/cucumber
|
109
|
+
- templates/install/step_definitions/capybara_steps.rb.erb
|
110
|
+
- templates/install/step_definitions/web_steps_cs.rb.erb
|
111
|
+
- templates/install/step_definitions/web_steps_da.rb.erb
|
112
|
+
- templates/install/step_definitions/web_steps_de.rb.erb
|
113
|
+
- templates/install/step_definitions/web_steps_es.rb.erb
|
114
|
+
- templates/install/step_definitions/web_steps_ja.rb.erb
|
115
|
+
- templates/install/step_definitions/web_steps_ko.rb.erb
|
116
|
+
- templates/install/step_definitions/web_steps_no.rb.erb
|
117
|
+
- templates/install/step_definitions/web_steps_pt-BR.rb.erb
|
118
|
+
- templates/install/step_definitions/webrat_steps.rb.erb
|
119
|
+
- templates/install/support/_rails_each_run.rb.erb
|
120
|
+
- templates/install/support/_rails_prefork.rb.erb
|
121
|
+
- templates/install/support/capybara.rb
|
122
|
+
- templates/install/support/edit_warning.txt
|
123
|
+
- templates/install/support/paths.rb
|
124
|
+
- templates/install/support/rails.rb.erb
|
125
|
+
- templates/install/support/rails_spork.rb.erb
|
126
|
+
- templates/install/support/webrat.rb
|
127
|
+
- templates/install/tasks/cucumber.rake.erb
|
122
128
|
has_rdoc: true
|
123
129
|
homepage: http://github.com/aslakhellesoy/cucumber-rails
|
124
130
|
licenses: []
|
@@ -129,27 +135,31 @@ rdoc_options:
|
|
129
135
|
require_paths:
|
130
136
|
- lib
|
131
137
|
required_ruby_version: !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
132
139
|
requirements:
|
133
140
|
- - ">="
|
134
141
|
- !ruby/object:Gem::Version
|
142
|
+
hash: 3
|
135
143
|
segments:
|
136
144
|
- 0
|
137
145
|
version: "0"
|
138
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
|
+
none: false
|
139
148
|
requirements:
|
140
149
|
- - ">="
|
141
150
|
- !ruby/object:Gem::Version
|
151
|
+
hash: 3
|
142
152
|
segments:
|
143
153
|
- 0
|
144
154
|
version: "0"
|
145
155
|
requirements: []
|
146
156
|
|
147
157
|
rubyforge_project:
|
148
|
-
rubygems_version: 1.3.
|
158
|
+
rubygems_version: 1.3.7
|
149
159
|
signing_key:
|
150
160
|
specification_version: 3
|
151
161
|
summary: Cucumber Generators and Runtime for Rails
|
152
162
|
test_files:
|
153
163
|
- spec/cucumber/web/tableish_spec.rb
|
154
|
-
- spec/generators/cucumber/
|
164
|
+
- spec/generators/cucumber/install/install_base_spec.rb
|
155
165
|
- spec/spec_helper.rb
|
@@ -1,21 +0,0 @@
|
|
1
|
-
Description:
|
2
|
-
Sets up Cucumber in your Rails project. After running this generator you will
|
3
|
-
get a new rake task called features.
|
4
|
-
|
5
|
-
This also generates the necessary files in the features directory.
|
6
|
-
|
7
|
-
Also see the feature generator, which you can use to generate skeletons
|
8
|
-
for new features.
|
9
|
-
|
10
|
-
Examples (Rails 3):
|
11
|
-
`script/rails generate cucumber:skeleton`
|
12
|
-
|
13
|
-
You can also provide a language argument for localized webrat_steps:
|
14
|
-
`script/rails generate cucumber:skeleton de`
|
15
|
-
|
16
|
-
Examples (Rails 2):
|
17
|
-
`script/generate cucumber`
|
18
|
-
|
19
|
-
You can also provide a language argument for localized webrat_steps:
|
20
|
-
`script/generate cucumber de`
|
21
|
-
|
data/rvm.yml
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
rubies:
|
2
|
-
1.8.7: ruby-1.8.7-tv1_8_7_174
|
3
|
-
# 1.9.1: ruby-1.9.1-p378
|
4
|
-
gems:
|
5
|
-
- aruba jeweler sqlite3-ruby capybara webrat spork database_cleaner cucumber rspec rspec-rails
|
6
|
-
rails_gems:
|
7
|
-
2.3.5:
|
8
|
-
- rails -v 2.3.5
|
9
|
-
3.0.0.beta:
|
10
|
-
- i18n -v 0.3.5
|
11
|
-
- tzinfo -v 0.3.16
|
12
|
-
- memcache-client -v 1.7.5
|
13
|
-
- rack-mount -v 0.4.0
|
14
|
-
- rack-test -v 0.5.0
|
15
|
-
- text-format -v 1.0.0
|
16
|
-
- erubis -v 2.6.5
|
17
|
-
- mail -v 2.1.2
|
18
|
-
- thor -v 0.13.4
|
19
|
-
- bundler -v 0.9.7
|
20
|
-
- builder -v 2.1.2
|
21
|
-
- rails --pre
|
22
|
-
|