aslakhellesoy-cucumber 0.1.100.2 → 0.1.100.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -56,23 +56,6 @@ which is a richer DSL than JBehave's language. -Over 20 spoken languages, Tables
56
56
  Scenario Outlines, the rich command line, the nice output format and everything
57
57
  pure Ruby users have been enjoying for a while.
58
58
 
59
- == TODO Before 0.2 release
60
- * Make sure all features and specs pass on Windows, JRuby and Ruby 1.9
61
- * Wiki page about running subsets
62
- ** file:line
63
- *** scenario (or step within)
64
- *** scenario outline
65
- *** scenario outline examples
66
- *** line in an example table
67
- *** background (same as whole file)
68
- *** fix bugs in any of those cases (there are some)
69
- ** --tags
70
- *** Link to page about tags
71
- * Tags with arguments
72
- * cucumber.jar + examples
73
- ** Remove need for -S cucumber
74
- ** Full jar and simple jar
75
-
76
59
  == Bugfixes
77
60
  * Re-structure the ast: Feature -> Background -> (Scenario|ScenarioOutline)*. Fixes bug with background being called outside transactions. (#181 Joseph Wilk)
78
61
  * --strict always exits with status 1 (#230 Tim Cuthbertson)
@@ -170,6 +170,7 @@ examples/tickets/features/177/1.feature
170
170
  examples/tickets/features/177/2.feature
171
171
  examples/tickets/features/177/3.feature
172
172
  examples/tickets/features/180.feature
173
+ examples/tickets/features/236.feature
173
174
  examples/tickets/features/lib/eatting_machine.rb
174
175
  examples/tickets/features/lib/pantry.rb
175
176
  examples/tickets/features/scenario_outline.feature
@@ -5,9 +5,6 @@ World do
5
5
  end
6
6
 
7
7
  After do |scenario|
8
- if scenario.status.index(:failed)
9
- # Call the BDD police
10
- end
11
8
  end
12
9
 
13
10
  Given "be_empty" do
@@ -53,8 +50,12 @@ Then /^I should be (\w+) in (\w+)$/ do |key, value|
53
50
  hash[key].should == value
54
51
  end
55
52
 
56
- Then /^I shoule see a multiline string like$/ do |s|
53
+ Then /^I should see a multiline string like$/ do |s|
57
54
  s.should == %{A string
58
55
  that spans
59
56
  several lines}
60
57
  end
58
+
59
+ Given /^the following users exist in the system$/ do |table|
60
+ table.hashes[0][:role_assignments].should == 'HUMAN RESOURCE'
61
+ end
@@ -20,7 +20,7 @@ Feature: Cucumber
20
20
  | Oslo | London |
21
21
  Then I should be working in London
22
22
  And I should be born in Oslo
23
- And I shoule see a multiline string like
23
+ And I should see a multiline string like
24
24
  """
25
25
  A string
26
26
  that spans
@@ -30,10 +30,6 @@ module Cucumber
30
30
  StepInvocation.new(self, name, multiline_arg, matched_cells)
31
31
  end
32
32
 
33
- def invoke(step_match, world)
34
- step_match.invoke(world, @multiline_arg)
35
- end
36
-
37
33
  def accept(visitor)
38
34
  # The only time a Step is visited is when it is in a ScenarioOutline.
39
35
  # Otherwise it's always StepInvocation that gest visited instead.
@@ -29,7 +29,7 @@ module Cucumber
29
29
  @skip_invoke = true
30
30
  begin
31
31
  step_mother.current_world.__cucumber_current_step = self
32
- @step.invoke(@step_match, step_mother.current_world)
32
+ @step_match.invoke(step_mother.current_world, @multiline_arg)
33
33
  status!(:passed)
34
34
  rescue Pending => e
35
35
  failed(e, false)
@@ -163,7 +163,6 @@ module Cucumber
163
163
  cell_with_replaced_args
164
164
  end
165
165
  end
166
-
167
166
  Table.new(raw_with_replaced_args)
168
167
  end
169
168
 
@@ -74,7 +74,7 @@ module Cucumber
74
74
  opts.on("-t TAGS", "--tags TAGS",
75
75
  "Only execute the features or scenarios with the specified tags.",
76
76
  "TAGS must be comma-separated without spaces. Prefix tags with ~ to",
77
- "exclude features or scenarios having that tag. tags can be specified",
77
+ "exclude features or scenarios having that tag. Tags can be specified",
78
78
  "with or without the @ prefix.") do |v|
79
79
  @options[:include_tags], @options[:exclude_tags] = *parse_tags(v)
80
80
  end
@@ -3,7 +3,7 @@ module Cucumber #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
5
  TINY = 100
6
- PATCH = 2 # Set to nil for official release
6
+ PATCH = 3 # Set to nil for official release
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PATCH].compact.join('.')
9
9
  end
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.100.2
4
+ version: 0.1.100.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Aslak Helles\xC3\xB8y"
@@ -408,7 +408,6 @@ files:
408
408
  - spec/cucumber/world/pending_spec.rb
409
409
  - spec/spec.opts
410
410
  - spec/spec_helper.rb
411
- - target/maven-archiver/pom.properties
412
411
  has_rdoc: true
413
412
  homepage: http://cukes.info
414
413
  post_install_message: