fuubar-cucumber 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.7
1
+ 0.0.8
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{fuubar-cucumber}
8
- s.version = "0.0.7"
8
+ s.version = "0.0.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Marcin Ciunelis"]
@@ -62,7 +62,7 @@ module Cucumber
62
62
  end
63
63
 
64
64
  def before_table_row(table_row)
65
- if @is_example && table_row.is_a?(Cucumber::Ast::OutlineTable::ExampleRow) && table_row.scenario_outline
65
+ if @is_example && table_row.is_a?(Cucumber::Ast::OutlineTable::ExampleRow) && table_row.scenario_outline && table_row.scenario_outline.instance_variable_get("@background").instance_variable_get("@steps")
66
66
  progress(:passed, table_row.scenario_outline.instance_variable_get("@background").instance_variable_get("@steps").count)
67
67
  end
68
68
  end
@@ -98,6 +98,7 @@ module Cucumber
98
98
  count = 0
99
99
  features = features.instance_variable_get("@features")
100
100
  features.each do |feature|
101
+ background_size = 0
101
102
  if feature.instance_variable_get("@background")
102
103
  background = feature.instance_variable_get("@background")
103
104
  background.init
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuubar-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Marcin Ciunelis