fuubar-cucumber 0.0.7 → 0.0.8
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/VERSION +1 -1
- data/fuubar-cucumber.gemspec +1 -1
- data/lib/fuubar-cucumber.rb +2 -1
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.8
|
data/fuubar-cucumber.gemspec
CHANGED
data/lib/fuubar-cucumber.rb
CHANGED
|
@@ -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:
|
|
4
|
+
hash: 15
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 8
|
|
10
|
+
version: 0.0.8
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Marcin Ciunelis
|