You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rubygem-cucumber/cucumber-2.4.0-Fix-Aruba-0....

34 lines
1.1 KiB

diff --git a/features/docs/work_in_progress.feature b/features/docs/work_in_progress.feature
index 6a2a446f..29a9ee9f 100644
--- a/features/docs/work_in_progress.feature
+++ b/features/docs/work_in_progress.feature
@@ -124,7 +124,6 @@ Feature: Cucumber --work-in-progress switch
features/wip.feature:15:in `Scenario: Passing'
-
"""
Scenario: Fail with Passing Scenario Outline
@@ -150,5 +149,4 @@ Feature: Cucumber --work-in-progress switch
features/passing_outline.feature:7:in `Scenario Outline: Passing, Examples (#1)'
-
"""
diff --git a/features/lib/support/normalise_output.rb b/features/lib/support/normalise_output.rb
index 9911db76..975c545f 100644
--- a/features/lib/support/normalise_output.rb
+++ b/features/lib/support/normalise_output.rb
@@ -4,6 +4,10 @@ module NormaliseArubaOutput
normalise_output(super)
end
+ def sanitize_text(text)
+ normalise_output(super)
+ end
+
def normalise_output(out)
out = out.gsub(/#{Dir.pwd}\/tmp\/aruba/, '.') # Remove absolute paths
out = out.gsub(/tmp\/aruba\//, '') # Fix aruba path