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