Skip to content

Commit 6f5532e

Browse files
committed
fixup! ruby: Fix runnable queries
1 parent 9d649a4 commit 6f5532e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

languages/ruby/runnables.scm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
(
77
(class
88
name: [
9-
(constant) @run
9+
(constant) @run @name @RUBY_TEST_NAME
1010
(scope_resolution scope: (constant) name: (constant) @run)
1111
]
1212
(superclass (scope_resolution) @superclass (#match? @superclass "(::IntegrationTest|::TestCase|::SystemTestCase|Minitest::Test|TLDR)$"))
@@ -33,7 +33,7 @@
3333
; System tests that inherit from ApplicationSystemTestCase
3434
(
3535
(class
36-
name: (constant) @run (superclass) @superclass (#match? @superclass "(ApplicationSystemTestCase)$")
36+
name: (constant) @run @name @RUBY_TEST_NAME (superclass) @superclass (#match? @superclass "(ApplicationSystemTestCase)$")
3737
) @_ruby-test
3838
(#set! tag ruby-test)
3939
)

0 commit comments

Comments
 (0)