aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-10-15 03:46:15 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-10-15 03:46:15 +0000
commit619f2897f59850842951982928d14ccacb16ac3b (patch)
tree55db044812f3120763336f797fa38cdb81ffa9c2 /activerecord
parent6cc7095320e8e6525f83a4740d58fc45d749ca6b (diff)
downloadrails-619f2897f59850842951982928d14ccacb16ac3b.tar.gz
rails-619f2897f59850842951982928d14ccacb16ac3b.tar.bz2
rails-619f2897f59850842951982928d14ccacb16ac3b.zip
Update test/all.sh
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-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 }'