Commit graph

23 commits

Author SHA1 Message Date
Jon Rowe
8dcbb697b1 finish merge, all specs, all features pass 2010-06-15 15:24:50 +01:00
Ben Mabey
6e554cb2d7 Merge commit '253247bd0813dc39c9c493a80119a6403f13ee2d' into multi_orms_connections
Conflicts:
	VERSION.yml
	features/step_definitions/database_cleaner_steps.rb
	lib/database_cleaner/configuration.rb
	spec/database_cleaner/active_record/transaction_spec.rb
	spec/database_cleaner/configuration_spec.rb
	spec/database_cleaner/mongo_mapper/truncation_spec.rb

 This is merge is not yet complete.  The Mongoid strategy/specs is not completely updated
 to the new structure of the project.  Additionaly, I see quite a bit of
 duplication between Mongoid and MongoMapper.  Since they both rely on
 the same underlying mongo lib I am thinking of just having a single
 Mongo strategy.  How the default connection is inferred can use
 autodetect magic of MongoMapper and Mongoid. (Meaning, for the
     Truncation strategy the #connection method would get the connection
     from either MongoMapper or Mongoid depending on what is defined...
     or it could use what was set by the user.)
2010-06-06 15:28:22 -06:00
Ben Mabey
23031933fa updates feature error message to match new expectation of CamelCase 2010-05-30 22:57:18 -06:00
Ben Mabey
0bcd3efcd0 updates bundler and adds needed symlinks to make features run w/bundler 2010-05-30 22:37:23 -06:00
Ben Mabey
bf55f75431 removes whitespace 2010-05-30 21:12:58 -06:00
Jon Rowe
b12d4fd3c1 updated features 2010-05-30 23:08:22 +01:00
Jon Rowe
d2da58156e Tweak features/steps for multiple orm, and fixed a bug in the couch example models 2010-05-25 18:21:45 +01:00
Jon Rowe
b723ed8bda multiple databases cleaning feature, failing 2010-05-18 07:52:03 +01:00
Jon Rowe
b90aee8457 fix typo in steps 2010-05-16 21:56:26 +01:00
Jon Rowe
e0f5cf51ad step definitions for running examples for multiple dbs / orms with different combos 2010-05-16 21:55:43 +01:00
Jon Rowe
aea1a605e0 fix typo in step 2010-05-16 21:55:09 +01:00
Jon Rowe
688b720591 repair features and support to all pass for cleaning single orms/dbs, so legacy works, theres also some preperation for other modes 2010-05-16 21:44:09 +01:00
Jon Rowe
55b0780b8f cleaning features for multiple dbs and multiple orms 2010-05-16 21:23:25 +01:00
Sidney Burks
b18f9b7f57 adds mongoid support 2010-04-13 09:53:56 -06:00
Darrin Holst
e096c35023 use jdbc for activerecord if running under jruby 2010-02-17 14:48:43 -06:00
Martin Rehfeld
efe6bfc9a7 truncation support for CouchPotato / CouchDB 2010-02-04 02:17:37 +01:00
Aubrey Holland
857c5cf93c add mongo_mapper support 2009-12-23 13:54:17 -05:00
snusnu
63147b21ce basic support for transaction/truncation with datamapper 2009-05-05 17:06:02 +02:00
Ben Mabey
0e64eb7925 removed extraneous world call from features 2009-04-30 21:25:58 -06:00
Ben Mabey
55bc444994 added truncation strategy for AR. improved error messaging 2009-03-04 13:18:13 -07:00
Ben Mabey
5e8df327d8 cucumber feature and example app done. Got the AR transaction strategy done as well. 2009-03-03 21:53:21 -07:00
Ben Mabey
13a59fc3af initial work done. Have failing example feauture and main config module done. 2009-03-01 01:45:58 -07:00
Ben Mabey
00299245c8 Initial commit to database_cleaner. 2009-02-26 21:42:20 -07:00