Prem Sichanugrist
56ca7001d4
Add support for default strategy for each ORM
...
DatabaseCleaner will select the best default strategy based on the ORM you're using without having you to select it by yourself.
* ActiveRecord, DataMapper => :transaction
* MongoMapper, Mongoid, CouchPotato => :truncation
2011-01-16 23:41:10 +07:00
Ben Mabey
8b94d1928d
kills whitespace
2010-08-23 14:50:32 -06:00
Jon Rowe
8dcbb697b1
finish merge, all specs, all features pass
2010-06-15 15:24:50 +01: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
a2b97f3a5b
update steps and features into a cleaner fashion
2010-05-30 19:29:42 +01:00
Jon Rowe
b7fed145df
refactor base to pass through database to strategy and let it decide to handle it, gracefully degrades (only errors upon attempt to use different database when strategy doesn't support it
2010-05-26 08:20:29 +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
74575b9766
steps for multiple dbs
2010-05-17 18:06:10 +01:00
Jon Rowe
c6703f08a1
make help text slightly nicer
2010-05-17 18:05:43 +01:00
Jon Rowe
1f430a0ca3
changes to allow multiple orm features to run, pass for me, whoop whoop
2010-05-16 22:26:56 +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
cfe09d618c
cleanup of old example feature
2010-05-16 21:24:00 +01:00
Jon Rowe
edf0b63924
example features (to be run by the overall cleaning features) added for multiple dbs and multiple orms, can't guarentee they work yet
2010-05-16 21:22:55 +01:00
Jon Rowe
8da9150a1b
Refactor
2010-05-04 21:07:21 +01:00
Ben Mabey
fb8431cb51
resolves breaking mongomapper feature
2010-02-18 18:37:24 -07: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
da7b965369
more information on how to run the examples/features alone
2009-05-07 17:36:02 +02: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