From 53b9be57d5711c7e5da8a5923d48ca54ff961fda Mon Sep 17 00:00:00 2001 From: Natalia Pozhidaeva Date: Thu, 1 Feb 2024 14:22:12 -0500 Subject: [PATCH] [#238] Flag to fail Cucumber tests in case of missing steps --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index bc476df..9508150 100644 --- a/Rakefile +++ b/Rakefile @@ -74,7 +74,7 @@ end require 'cucumber/rake/task' Cucumber::Rake::Task.new(:features) do |t| - t.cucumber_opts = 'features' + t.cucumber_opts = %w[features --strict-undefined] Rake::Cleaner.cleanup_files(['coverage']) end Cucumber::Rake::Task.new(:'features:html') do |t|