Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 2, 2010
  1. @jferris
Commits on Oct 1, 2010
  1. @jferris
  2. @jferris

    Removed some todos

    jferris authored
  3. @jferris
  4. @jferris
Commits on Sep 7, 2010
  1. @jferris

    Added factory aliases

    jferris authored
  2. @jferris
  3. @jferris
  4. @jferris

    Add the attributes for the parent factory before those for the child,

    Ben Taitelbaum authored jferris committed
    so that the child can reference parent attributes; fixes gh-15
Commits on Aug 25, 2010
  1. @davidw @jferris

    Perform a sort on files loaded from the factories/ directory.

    davidw authored jferris committed
    We do this so that it's possible to know the order in which the files
    will be loaded.  This is important if there are interdependencies.
  2. @jferris
Commits on Aug 13, 2010
  1. @comron
Commits on Aug 5, 2010
  1. @jferris
Commits on Jul 26, 2010
  1. @karmi @jferris

    Factory.aliases should not alias attributes like "_id"

    karmi authored jferris committed
Commits on Jul 7, 2010
  1. @jferris

    Check for undefined constants/methods on Factory on FactoryGirl to pr…

    jferris authored
    …eserve backwards compatibility
  2. @jferris

    Moved definition loading syntax out of the factory class; moved every…

    jferris authored
    …thing into a FactoryGirl module
  3. @jferris
  4. @jferris
Commits on Jun 23, 2010
  1. @jferris

    Fixed definition autoloading support for rails 2.x when config.gem is…

    jferris authored
    … in config/environments/test.rb
  2. @jferris
Commits on Jun 22, 2010
  1. @tsigo @jferris

    Fix a few spelling errors in docs

    tsigo authored jferris committed
Commits on Jun 11, 2010
  1. update README for rails 3

    Chad Pytel authored
Commits on Jun 10, 2010
  1. @jferris
Commits on Jun 9, 2010
  1. @jferris
Commits on Jun 8, 2010
  1. @jtrupiano @tristandunn
Commits on Jun 7, 2010
  1. @tristandunn

    Clean up whitespace.

    tristandunn authored
  2. @tristandunn

    Fix issue with Ruby 1.9.

    tristandunn authored
  3. @tristandunn
  4. @tristandunn

    Correct grammar mistakes.

    Tekhne authored tristandunn committed
  5. @mlomnicki @tristandunn

    Handle namespaced classes passed as string.

    mlomnicki authored tristandunn committed
  6. @flori @tristandunn

    Support id method in Factory.

    flori authored tristandunn committed
  7. @flori @tristandunn

    Support type attribute in Factory.

    flori authored tristandunn committed
    The type attribute is necessary in order to use rails' single table inheritance
    feature. Unfortunately this collides with Ruby's deprecated Kernel#type method
    and the Factory object's method missing isn't triggered. This change undefines
    the type instance method in Factory and fixes the problem.
    
    Factory.define :foo do |b|
    end
    
    Factory.define :bar, :parent => :foo do |b|
      b.type 'Bar'
    end
    
    Factory.define :baz, :parent => :foo do |b|
      b.type 'Baz'
    end
  8. @tristandunn
Commits on May 20, 2010
  1. @jyurek
  2. @jyurek
Something went wrong with that request. Please try again.