aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/all.sh')
-rwxr-xr-xactiverecord/test/all.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/all.sh b/activerecord/test/all.sh
index a6712cc48e..8abd156230 100755
--- a/activerecord/test/all.sh
+++ b/activerecord/test/all.sh
@@ -1,8 +1,8 @@
#!/bin/sh
if [ -z "$1" ]; then
- echo "Usage: $0 connections/<db_library>" 1>&2
+ echo "Usage: $0 <database>" 1>&2
exit 1
fi
-ruby -I $1 -e 'Dir.foreach(".") { |file| require file if file =~ /_test.rb$/ }'
+ruby -I connections/native_$1 -e 'Dir["**/*_test.rb"].each { |path| require path }'