Skip to content

Commit b765b9c

Browse files
committed
Require activesupport for Autotest::Sqlserveradapter.
1 parent a046ddb commit b765b9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

autotest/sqlserveradapter.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
require 'autotest'
2+
require 'activesupport'
23

34
class Autotest::Sqlserveradapter < Autotest
45

@@ -31,7 +32,7 @@ def initialize
3132
# Have to use a custom reorder method since the normal :alpha for Autotest would put the
3233
# files with ../ in the path before others.
3334
def reorder(files_to_test)
34-
ar_tests, sqlsvr_tests = files_to_test.partition { |k,v| k.start_with?('../../../') }
35+
ar_tests, sqlsvr_tests = files_to_test.partition { |k,v| k.starts_with?('../../../') }
3536
ar_tests.sort! { |a,b| a[0] <=> b[0] }
3637
sqlsvr_tests.sort! { |a,b| a[0] <=> b[0] }
3738
sqlsvr_tests + ar_tests

0 commit comments

Comments
 (0)