Commit Graph

31 Commits

Author SHA1 Message Date
Micah Geisel 12abeae48b strip down cucumber scenarios to just use the two most popular adapter gems, and reenable to validate the end-to-end UX. 2020-04-06 16:42:11 -05:00
Micah Geisel 77dece1e14 fix gem loading situation. 2020-02-14 14:19:38 -06:00
Micah Geisel 95619b2e74 extract database_cleaner-data_mapper adapter. 2018-11-20 21:01:48 -08:00
Micah Geisel e65c63c939 initial database_cleaner-active_record gem extraction. 2018-11-20 21:01:35 -08:00
Ernesto Tagwerker 5697b92663 Removed unnecessary spaces. 2014-12-11 10:41:03 +11:00
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
Petteri Räty 510f1bb48d Expose original exception if orm can't loaded
When running cucumber expose the original exception so that it's easier
to debug what's going on. I could not load couchpotato because of
require problems down the stack and with this I can see the actual
problem. With bundler we always have the dependencies installed.
2012-12-06 15:42:23 +02:00
Petteri Räty 65b6b4822f Comment out ruby-debug
The Gemfile does not pull it in any more as that gem is not working on
1.9. In order to run the cucumber features comment out the require for
now.
2012-12-06 15:00:25 +02:00
Ben Mabey d23c17c05a changes key of passing in AR model to :model and documents it 2012-08-25 12:21:43 -06:00
Ben Mabey c209f17052 verify that connection caching fixes outstanding bug 2012-08-25 12:14:22 -06:00
stanislaw ee08c30de7 upgrade to RSpec2 2012-07-08 21:38:56 -06:00
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 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 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