Skip to content

Commit 76fed11

Browse files
authored
Add 'feature' and 'scenario' to runnable methods for specs (#167)
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.
1 parent 3236bb0 commit 76fed11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

languages/ruby/runnables.scm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
; Examples
4242
(
4343
(call
44-
method: (identifier) @run (#any-of? @run "describe" "context" "it" "its" "specify")
44+
method: (identifier) @run (#any-of? @run "describe" "context" "it" "its" "specify" "feature" "scenario")
4545
arguments: (argument_list . (_) @name @RUBY_TEST_NAME)
4646
) @_ruby-test
4747
(#set! tag ruby-test)

0 commit comments

Comments
 (0)