aslakhellesoy-cucumber 0.1.16 → 0.1.16.1

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 CHANGED
@@ -1,3 +1,10 @@
1
+ == Git
2
+
3
+ === New features
4
+
5
+ * Finnish translation (Tero Tilus)
6
+ * Use Webrat's #contain matcher in generated "I should (not) see" step definitions
7
+
1
8
  == 0.1.16 2009-01-19
2
9
 
3
10
  This is a small bugfix release. The most notable improvement is compatibility with Webrat 0.4. Rails/Webrat users should
data/Manifest.txt CHANGED
@@ -46,6 +46,11 @@ examples/i18n/et/Rakefile
46
46
  examples/i18n/et/features/liitmine.feature
47
47
  examples/i18n/et/features/step_definitions/kalkulaator_steps.rb
48
48
  examples/i18n/et/lib/kalkulaator.rb
49
+ examples/i18n/fi/Rakefile
50
+ examples/i18n/fi/features/jakolasku.feature
51
+ examples/i18n/fi/features/step_definitons/laskin_steps.rb
52
+ examples/i18n/fi/features/yhteenlasku.feature
53
+ examples/i18n/fi/lib/laskin.rb
49
54
  examples/i18n/fr/Rakefile
50
55
  examples/i18n/fr/features/addition.feature
51
56
  examples/i18n/fr/features/step_definitions/calculatrice_steps.rb
@@ -189,6 +194,7 @@ lib/cucumber/treetop_parser/feature_en-tx.rb
189
194
  lib/cucumber/treetop_parser/feature_en.rb
190
195
  lib/cucumber/treetop_parser/feature_es.rb
191
196
  lib/cucumber/treetop_parser/feature_et.rb
197
+ lib/cucumber/treetop_parser/feature_fi.rb
192
198
  lib/cucumber/treetop_parser/feature_fr.rb
193
199
  lib/cucumber/treetop_parser/feature_id.rb
194
200
  lib/cucumber/treetop_parser/feature_it.rb
@@ -110,6 +110,19 @@
110
110
  then: Siis
111
111
  and: Ja
112
112
  but: Kuid
113
+ # Finnish
114
+ "fi":
115
+ feature: Ominaisuus
116
+ scenario: Tapaus
117
+ scenario_outline: Tapausaihio
118
+ examples: Tapaukset
119
+ more_examples: Lisätapaukset
120
+ given_scenario: Oletetaan tapaus
121
+ given: Oletetaan
122
+ when: Kun
123
+ then: Niin
124
+ and: Ja
125
+ but: Mutta
113
126
  # French
114
127
  "fr":
115
128
  feature: Fonctionnalité
@@ -3,7 +3,7 @@ module Cucumber #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
5
  TINY = 16
6
- PATCH = nil # Set to nil for official release
6
+ PATCH = 1 # Set to nil for official release
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PATCH].compact.join('.')
9
9
  end
@@ -87,11 +87,11 @@ When /^I attach the file at "(.*)" to "(.*)" $/ do |path, field|
87
87
  end
88
88
 
89
89
  Then /^I should see "(.*)"$/ do |text|
90
- response.body.should =~ /#{text}/m
90
+ response.should contain(text)
91
91
  end
92
92
 
93
93
  Then /^I should not see "(.*)"$/ do |text|
94
- response.body.should_not =~ /#{text}/m
94
+ response.should_not contain(text)
95
95
  end
96
96
 
97
97
  Then /^the "(.*)" checkbox should be checked$/ do |label|
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.1.16
4
+ version: 0.1.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Aslak Helles\xC3\xB8y"