From 635b3e3c7548249fc2c763eb53e799ff8c78a939 Mon Sep 17 00:00:00 2001 From: Jeroen van Baarsen Date: Tue, 26 Aug 2025 13:02:46 +0200 Subject: [PATCH] feat(ruby): add 'feature' and 'scenario' to runnable methods for specs This allows the test running of specs that start with "feature" or "scenario". In the current situation, we need to change the "scenario" tag to "it" to make it work. With this change, we no longer have to. --- languages/ruby/runnables.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages/ruby/runnables.scm b/languages/ruby/runnables.scm index ad55010..8098ce6 100644 --- a/languages/ruby/runnables.scm +++ b/languages/ruby/runnables.scm @@ -41,7 +41,7 @@ ; Examples ( (call - method: (identifier) @run (#any-of? @run "describe" "context" "it" "its" "specify") + method: (identifier) @run (#any-of? @run "describe" "context" "it" "its" "specify" "feature" "scenario") arguments: (argument_list . (_) @name @RUBY_TEST_NAME) ) @_ruby-test (#set! tag ruby-test)