Permalink
Switch branches/tags
Nothing to show
Commits on Mar 21, 2009
  1. Ensure fixtures inserted

    methodmissing committed Mar 21, 2009
Commits on Mar 18, 2009
  1. sync with technoweenie

    methodmissing committed Mar 18, 2009
  2. Remove .send invocation

    methodmissing committed Mar 18, 2009
Commits on Feb 11, 2009
  1. Correctly initialize the first test after dynamically calling define_…

    Darrick Wiebe committed with technoweenie Feb 10, 2009
    …models.
    
    Signed-off-by: rick <technoweenie@gmail.com>
  2. Bettor support for nested definitions.

    Darrick Wiebe committed with technoweenie Feb 10, 2009
    The database rollback needs to happen even if no models were initiated because they could always be manually created. Allow Definition instances to know their own name. Improve upon the previous method of searching the class heirarchy for definitions, now search for what was defined and then redefine it in the current subclass -- that actually got all of my tests passing in my app.
    
    Signed-off-by: rick <technoweenie@gmail.com>
  3. Allow a recursive search up the class heirarchy for the definition of…

    Darrick Wiebe committed with technoweenie Feb 10, 2009
    … the models, allowing the stub method to be called from nested describe blocks in rspec.
    
    Signed-off-by: rick <technoweenie@gmail.com>
Commits on Feb 10, 2009
  1. Calling new_<stub>! twice would give back two of the same

    lawrencepit committed with technoweenie Sep 30, 2008
    Signed-off-by: rick <technoweenie@gmail.com>
  2. Added create_<stub> shortcut

    lawrencepit committed with technoweenie Sep 30, 2008
    Signed-off-by: rick <technoweenie@gmail.com>
Commits on Sep 20, 2008
  1. update for edge rails with hack so ActiveRecord::Base.connection.incr…

    technoweenie committed Sep 20, 2008
    …ement_open_transactions still works in older versions of rails
Commits on Sep 12, 2008
  1. Edge compat

    methodmissing committed Sep 12, 2008
Commits on Aug 27, 2008
  1. Revert "added ModelDefinition::StubProxy so that you can relate stubs…

    technoweenie committed Aug 27, 2008
    … to other stubs that haven't been created yet."
    
    This reverts commit 2d72b3d.
  2. added ModelDefinition::StubProxy so that you can relate stubs to othe…

    technoweenie committed Aug 27, 2008
    …r stubs that haven't been created yet.
Commits on Aug 25, 2008
Commits on Aug 15, 2008
Commits on Jul 31, 2008
  1. small tweak so that calling define_method with only a hash inherits f…

    technoweenie committed Jul 31, 2008
    …rom the existing stubs properly
Commits on Jul 24, 2008
Commits on Jul 18, 2008
  1. requires

    methodmissing committed Jul 18, 2008
Commits on Jul 6, 2008
  1. update specs for :validate, so its checked from the model, not the de…

    technoweenie committed Jul 6, 2008
    …finition. make :validate => false by default
Commits on Jul 4, 2008
Commits on Jun 22, 2008
  1. teardown instantiated stubs

    lawrencepit committed Jun 22, 2008
Commits on Jun 21, 2008
  1. Clear stubbing records between tests, to prevent re-use of modified i…

    lawrencepit committed Jun 21, 2008
    …nstantiated stub -- thnx D. Bell
    
    Signed-off-by: Lawrence Pit <lawrence.pit@gmail.com>
Commits on Jun 20, 2008
Commits on Jun 19, 2008
  1. When assigning has_many instantiated stubs, temporarily act as new ot…

    lawrencepit committed Jun 19, 2008
    …herwise AR inserts rows
Commits on Jun 17, 2008
  1. Added more tests (tests for new_<modelname>! which save!s instantiate…

    lawrencepit committed Jun 17, 2008
    …d tests to the database)