Ernesto Tagwerker
cbee39089b
Move steps to examples folder
2017-05-02 16:03:36 -04:00
Kostas Karachalios
c10ad307f8
Remove unused requirement of test/unit/assertions
2015-01-13 11:43:06 +01:00
Jon Rowe
c0f4f95841
add multiple orm testing for sequel and default strategy
2014-12-22 20:36:35 +11:00
Jon Rowe
7d4d8868f6
add cucumber scenario for sequel
2014-12-22 20:28:00 +11:00
Dieter Pisarewski
17f82853ff
added some specs, removed neo4j from multiple_dbs feature
2014-12-08 14:48:07 +01:00
Dieter Pisarewski
6288ee1b79
Neo4j support
2014-12-01 17:19:27 +01: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
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
037012b364
adds scenarios for new deletion strategy
2010-10-25 10:10:08 -06:00
Ben Mabey
8b94d1928d
kills whitespace
2010-08-23 14:50:32 -06:00
Ben Mabey
1ccdae9453
updates the cleaning_multiple_dbs feature
2010-08-22 14:28:28 -06:00
Jon Rowe
8dcbb697b1
finish merge, all specs, all features pass
2010-06-15 15:24:50 +01:00
Ben Mabey
6e554cb2d7
Merge commit ' 253247bd08' 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