Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 25, 2012
  1. @bmabey
  2. @bmabey
Commits on Aug 6, 2012
  1. @bmabey
Commits on Jul 9, 2012
  1. @stanislaw @bmabey

    upgrade to RSpec2

    stanislaw authored bmabey committed
Commits on Jan 16, 2011
  1. @sikachu

    Add support for default strategy for each ORM

    sikachu authored
    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
Commits on Aug 23, 2010
  1. @bmabey

    kills whitespace

    bmabey authored
Commits on Jun 15, 2010
  1. @JonRowe
Commits on Jun 6, 2010
  1. @bmabey

    Merge commit '253247bd0813dc39c9c493a80119a6403f13ee2d' into multi_or…

    bmabey authored
    …ms_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.)
Commits on May 31, 2010
  1. @bmabey
  2. @bmabey
  3. @bmabey

    removes whitespace

    bmabey authored
Commits on May 30, 2010
  1. @JonRowe

    updated features

    JonRowe authored
  2. @JonRowe
  3. @JonRowe
Commits on May 26, 2010
  1. @JonRowe

    refactor base to pass through database to strategy and let it decide …

    JonRowe authored
    …to handle it, gracefully degrades (only errors upon attempt to use different database when strategy doesn't support it
Commits on May 25, 2010
  1. @JonRowe
Commits on May 18, 2010
  1. @JonRowe

    changed activerecord / datamapper to sqlite in order to facilitate th…

    JonRowe authored
    …e testing of multiple databases
  2. @JonRowe
Commits on May 17, 2010
  1. @JonRowe

    steps for multiple dbs

    JonRowe authored
  2. @JonRowe

    make help text slightly nicer

    JonRowe authored
Commits on May 16, 2010
  1. @JonRowe
  2. @JonRowe
  3. @JonRowe

    repair features and support to all pass for cleaning single orms/dbs,…

    JonRowe authored
    … so legacy works, theres also some preperation for other modes
  4. @JonRowe

    cleanup active record specs

    JonRowe authored
  5. @JonRowe

    cleanup of old example feature

    JonRowe authored
  6. @JonRowe

    example features (to be run by the overall cleaning features) added f…

    JonRowe authored
    …or multiple dbs and multiple orms, can't guarentee they work yet
Commits on May 4, 2010
  1. Refactor

    Jon Rowe authored
Commits on Apr 13, 2010
  1. @sid137 @bmabey

    adds mongoid support

    sid137 authored bmabey committed
  2. @bmabey
Commits on Feb 19, 2010
  1. @bmabey
Commits on Feb 17, 2010
  1. @darrinholst
Commits on Feb 4, 2010
  1. @martinrehfeld
Commits on Dec 23, 2009
  1. add mongo_mapper support

    Aubrey Holland authored
Something went wrong with that request. Please try again.