move tests -> test
This commit is contained in:
parent
03beecd936
commit
fc49e8c982
|
@ -70,7 +70,7 @@ Here's how to start mongo and run the "simple.rb" example:
|
|||
$ cd path/to/mongo-ruby-driver
|
||||
$ ruby examples/simple.rb
|
||||
|
||||
See also the test code, especially tests/test_db_api.rb.
|
||||
See also the test code, especially test/test_db_api.rb.
|
||||
|
||||
= The Driver
|
||||
|
||||
|
|
2
Rakefile
2
Rakefile
|
@ -16,7 +16,7 @@ gem_command = "gem1.9" if $0.match(/1\.9$/) # use gem1.9 if we used rake1.9
|
|||
|
||||
# NOTE: some of the tests assume Mongo is running
|
||||
Rake::TestTask.new do |t|
|
||||
t.test_files = FileList['tests/test*.rb']
|
||||
t.test_files = FileList['test/test*.rb']
|
||||
end
|
||||
|
||||
desc "Generate documentation"
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
|
||||
HERE=`dirname $0`
|
||||
|
||||
if [ ! -f $HERE/../tests/mongo-qa/$1 ] ; then
|
||||
if [ ! -f $HERE/../test/mongo-qa/$1 ] ; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
begintime=`date`
|
||||
ruby $HERE/../tests/mongo-qa/$1 $3 $4 >> $2
|
||||
ruby $HERE/../test/mongo-qa/$1 $3 $4 >> $2
|
||||
exitval=$?
|
||||
endtime=`date`
|
||||
|
||||
|
|
|
@ -49,36 +49,36 @@ PACKAGE_FILES = ['README.rdoc', 'Rakefile', 'mongo-ruby-driver.gemspec',
|
|||
'lib/mongo/util/ordered_hash.rb',
|
||||
'lib/mongo/util/xml_to_ruby.rb',
|
||||
'lib/mongo.rb']
|
||||
TEST_FILES = ['tests/mongo-qa/_common.rb',
|
||||
'tests/mongo-qa/admin',
|
||||
'tests/mongo-qa/capped',
|
||||
'tests/mongo-qa/count1',
|
||||
'tests/mongo-qa/dbs',
|
||||
'tests/mongo-qa/find',
|
||||
'tests/mongo-qa/find1',
|
||||
'tests/mongo-qa/gridfs_in',
|
||||
'tests/mongo-qa/gridfs_out',
|
||||
'tests/mongo-qa/indices',
|
||||
'tests/mongo-qa/remove',
|
||||
'tests/mongo-qa/stress1',
|
||||
'tests/mongo-qa/test1',
|
||||
'tests/mongo-qa/update',
|
||||
'tests/test_admin.rb',
|
||||
'tests/test_bson.rb',
|
||||
'tests/test_byte_buffer.rb',
|
||||
'tests/test_chunk.rb',
|
||||
'tests/test_collection.rb',
|
||||
'tests/test_cursor.rb',
|
||||
'tests/test_db.rb',
|
||||
'tests/test_db_api.rb',
|
||||
'tests/test_db_connection.rb',
|
||||
'tests/test_grid_store.rb',
|
||||
'tests/test_message.rb',
|
||||
'tests/test_mongo.rb',
|
||||
'tests/test_objectid.rb',
|
||||
'tests/test_ordered_hash.rb',
|
||||
'tests/test_threading.rb',
|
||||
'tests/test_round_trip.rb']
|
||||
TEST_FILES = ['test/mongo-qa/_common.rb',
|
||||
'test/mongo-qa/admin',
|
||||
'test/mongo-qa/capped',
|
||||
'test/mongo-qa/count1',
|
||||
'test/mongo-qa/dbs',
|
||||
'test/mongo-qa/find',
|
||||
'test/mongo-qa/find1',
|
||||
'test/mongo-qa/gridfs_in',
|
||||
'test/mongo-qa/gridfs_out',
|
||||
'test/mongo-qa/indices',
|
||||
'test/mongo-qa/remove',
|
||||
'test/mongo-qa/stress1',
|
||||
'test/mongo-qa/test1',
|
||||
'test/mongo-qa/update',
|
||||
'test/test_admin.rb',
|
||||
'test/test_bson.rb',
|
||||
'test/test_byte_buffer.rb',
|
||||
'test/test_chunk.rb',
|
||||
'test/test_collection.rb',
|
||||
'test/test_cursor.rb',
|
||||
'test/test_db.rb',
|
||||
'test/test_db_api.rb',
|
||||
'test/test_db_connection.rb',
|
||||
'test/test_grid_store.rb',
|
||||
'test/test_message.rb',
|
||||
'test/test_mongo.rb',
|
||||
'test/test_objectid.rb',
|
||||
'test/test_ordered_hash.rb',
|
||||
'test/test_threading.rb',
|
||||
'test/test_round_trip.rb']
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = 'mongo'
|
||||
|
|
Loading…
Reference in New Issue