Commit graph

14 commits

Author SHA1 Message Date
James Conroy-Finn
b70f09a3ed Add Redis & Ohm support
This contains the work of @hbpoison, updated to work with the current
version of DatabaseCleaner.

https://github.com/bmabey/database_cleaner/pull/87/files
2013-05-11 14:21:43 +01:00
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
bf55f75431 removes whitespace 2010-05-30 21:12:58 -06: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
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
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
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
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