aslakhellesoy-cucumber 0.3.9.3 → 0.3.9.4
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/History.txt +11 -0
- data/Manifest.txt +6 -0
- data/examples/i18n/pl/Rakefile +6 -0
- data/examples/i18n/pl/features/addition.feature +16 -0
- data/examples/i18n/pl/features/division.feature +9 -0
- data/examples/i18n/pl/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/pl/features/support/env.rb +6 -0
- data/examples/i18n/pl/lib/calculator.rb +14 -0
- data/examples/self_test/features/sample.feature +2 -0
- data/features/cucumber_cli.feature +24 -6
- data/features/html_formatter/a.html +886 -436
- data/features/usage.feature +2 -2
- data/lib/cucumber/ast/background.rb +1 -1
- data/lib/cucumber/ast/comment.rb +4 -0
- data/lib/cucumber/ast/feature.rb +2 -1
- data/lib/cucumber/ast/outline_table.rb +2 -2
- data/lib/cucumber/ast/scenario.rb +1 -1
- data/lib/cucumber/ast/scenario_outline.rb +11 -4
- data/lib/cucumber/ast/step_invocation.rb +17 -12
- data/lib/cucumber/ast/visitor.rb +4 -0
- data/lib/cucumber/formatter/console.rb +1 -3
- data/lib/cucumber/formatter/html.rb +49 -9
- data/lib/cucumber/formatter/junit.rb +1 -0
- data/lib/cucumber/formatter/pretty.rb +2 -1
- data/lib/cucumber/formatter/rerun.rb +1 -0
- data/lib/cucumber/formatter/tag_cloud.rb +1 -0
- data/lib/cucumber/step_match.rb +6 -2
- data/lib/cucumber/step_mother.rb +11 -8
- data/lib/cucumber/version.rb +1 -1
- data/rails_generators/cucumber/templates/webrat_steps.rb +8 -0
- metadata +8 -2
data/lib/cucumber/version.rb
CHANGED
@@ -130,6 +130,14 @@ Then /^the "([^\"]*)" checkbox should be checked$/ do |label|
|
|
130
130
|
<% end -%>
|
131
131
|
end
|
132
132
|
|
133
|
+
Then /^the "([^\"]*)" checkbox should not be checked$/ do |label|
|
134
|
+
<% if framework == :rspec -%>
|
135
|
+
field_labeled(label).should_not be_checked
|
136
|
+
<% else -%>
|
137
|
+
assert !field_labeled(label).checked?
|
138
|
+
<% end -%>
|
139
|
+
end
|
140
|
+
|
133
141
|
Then /^I should be on (.+)$/ do |page_name|
|
134
142
|
<% if framework == :rspec -%>
|
135
143
|
URI.parse(current_url).path.should == path_to(page_name)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aslakhellesoy-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.9.
|
4
|
+
version: 0.3.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Aslak Helles\xC3\xB8y"
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-06-03 00:00:00 -07:00
|
13
13
|
default_executable: cucumber
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -192,6 +192,12 @@ files:
|
|
192
192
|
- examples/i18n/no/features/summering.feature
|
193
193
|
- examples/i18n/no/features/support/env.rb
|
194
194
|
- examples/i18n/no/lib/kalkulator.rb
|
195
|
+
- examples/i18n/pl/Rakefile
|
196
|
+
- examples/i18n/pl/features/addition.feature
|
197
|
+
- examples/i18n/pl/features/division.feature
|
198
|
+
- examples/i18n/pl/features/step_definitons/calculator_steps.rb
|
199
|
+
- examples/i18n/pl/features/support/env.rb
|
200
|
+
- examples/i18n/pl/lib/calculator.rb
|
195
201
|
- examples/i18n/pt/Rakefile
|
196
202
|
- examples/i18n/pt/features/adicao.feature
|
197
203
|
- examples/i18n/pt/features/step_definitions/calculadora_steps.rb
|