Kostas Diamantis
be18701c45
Use Redis#new instead of deprecated Redis#connect
...
According to commit: redis/redis-rb@7193c30 in redis gem
Redis.connect is deprecated.
2015-12-22 12:08:31 +02:00
Jon Rowe
7d4d8868f6
add cucumber scenario for sequel
2014-12-22 20:28:00 +11:00
Kostas Karachalios
e331222c55
Merge pull request #308 from dpisarewski/neo4j
...
Description of configuration options for Neo4j and some improvements
2014-12-19 10:59:03 +01:00
Dieter Pisarewski
8d11614012
fix counting of nodes in test model, fixed rollback when called for with closed transaction
2014-12-16 13:15:09 +01:00
Ernesto Tagwerker
7cea72c62c
Cucumber feature works without this, which is suspicious.
2014-12-11 10:41:03 +11:00
Ernesto Tagwerker
98a0b002d2
Corrected the way to connect to the MongoDB using mongoid.
2014-12-11 10:41:03 +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
Ben Mabey
9e164c4513
Merge pull request #203 from sanemat/feature/cucumer-mongoid
...
Use mongoid connection instead of Mongo gem
2013-05-13 15:06:16 -07: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
sanemat
b612c9d300
Use mongoid connection instead of Mongo gem
...
mongoid version > 3.0.0 use configure below:
http://mongoid.org/en/mongoid/docs/installation.html#configuration
I use stackoverflow answer:
http://stackoverflow.com/questions/12511699/mongoid-uninitialized-constant-mongo-nameerror
2013-05-07 05:53:30 +09: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
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
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
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
7ee7654c48
changed activerecord / datamapper to sqlite in order to facilitate the testing of multiple databases
2010-05-18 07:50:20 +01:00
Jon Rowe
7bf3249105
changes to models to allow Widget/AnotherWidget for multi orm testing
2010-05-16 22:26:09 +01:00
Jon Rowe
27a11f1d83
cleanup active record specs
2010-05-16 21:25:05 +01:00
Jon Rowe
4d596928b3
change couchpotato_models for cucumber to load json_pure
2010-05-16 21:20:43 +01:00
Jon Rowe
3adc4e935a
fix mongomapper_models for cucumber to load mongo_mapper
2010-05-16 20:41:14 +01:00
Jon Rowe
8da9150a1b
Refactor
2010-05-04 21:07:21 +01:00
Sidney Burks
b18f9b7f57
adds mongoid support
2010-04-13 09:53:56 -06:00
Ben Mabey
e09588b15c
requires mongo_mapper instead of mongomapper - MM must have changed
2010-04-13 09:48:52 -06:00
Ben Mabey
fb8431cb51
resolves breaking mongomapper feature
2010-02-18 18:37:24 -07: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
5e8df327d8
cucumber feature and example app done. Got the AR transaction strategy done as well.
2009-03-03 21:53:21 -07:00