Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 5, 2011
  1. @joshuaclayton

    Bump version to 2.0.3

    joshuaclayton authored
  2. @flavio @joshuaclayton

    Ensure static attributes are executed before dynamic ones.

    flavio authored joshuaclayton committed
    Static attributes must be executed first because dynamic attributes might
    rely on them. This is really important when using the :parent relationship.
    
    Previous code didn't work fine in situations like this one:
      Factory.define(:generic_user, :class => User) do |u|
        u.email { |user| "#{user.name}@example.com }
      end
    
      Factory.define(:flavio, :parent => :generic_user) do |u|
        u.name "flavio"
      end
    
    When building a :user object the previous code would have set the email
    attribute and then the name attribute. This results in a user object with
    an invalid email address: the 'name' attribute is yet not set while the
    'email' attribute is evaluated.
    
    Closes #159
Commits on Jul 30, 2011
  1. @joshuaclayton
  2. @szimek

    Simplify association syntax when defining new factory.

    szimek authored
    Now it's possible to do:
    
    factory :post do
      author :factory => :user
    end
Commits on Jul 29, 2011
  1. @nickrivadeneira
  2. @nickrivadeneira

    Revert "Add travis config and build status link" until travis can sup…

    nickrivadeneira authored
    …port appraisal
    
    This reverts commit 2434d66.
  3. @nickrivadeneira
  4. @joshuaclayton
Commits on Jul 28, 2011
  1. @nickrivadeneira

    bump to 2.0.2

    nickrivadeneira authored
  2. @nickrivadeneira

    make sure the value is a string when calling #strip in step defs sinc…

    nickrivadeneira authored
    …e cucumber > 1.0 yields real types instead of strings on matches
  3. @gabebw
Commits on Jul 25, 2011
  1. @huerlisi
Commits on Jul 22, 2011
  1. @joshuaclayton

    Bump version to 2.0.1

    joshuaclayton authored
  2. @joshuaclayton
  3. @joshuaclayton

    Bump version to 2.0.0

    joshuaclayton authored
  4. @joshuaclayton

    Requiring factory definition files now works in 1.9 outside of tests

    joshuaclayton authored
    Ruby 1.9 doesn't automatically include . in the load path; if we do a
    require to a relative path (eg a file within spec or test), 1.9 will raise a
    LoadError because spec or test isn't normally in the load path.
  5. @joshuaclayton

    Add dependency on aruba

    joshuaclayton authored
  6. @joshuaclayton

    Ignore tmp dir

    joshuaclayton authored
Commits on Jul 16, 2011
  1. @gabebw

    Fix syntax highlighting

    gabebw authored
Commits on Jul 13, 2011
  1. @aepstein
Commits on Jul 8, 2011
  1. @joshuaclayton
Commits on Jul 6, 2011
  1. @matthuhiggins
Commits on Jul 5, 2011
  1. @jferris

    Bump to rc3

    jferris authored
  2. @jferris
  3. @jferris

    Don't undefine __id__

    jferris authored
  4. @jferris

    Bumped to 2.0.0.rc2

    jferris authored
  5. @jferris
  6. @mike-burns
  7. @gmile

    More clear install message

    gmile authored
Commits on Jul 4, 2011
  1. @joshuaclayton
Commits on Jul 1, 2011
  1. @gabebw

    Typo fix

    gabebw authored
  2. @joshuaclayton

    More docs

    joshuaclayton authored
  3. @joshuaclayton

    Documentation fixes

    joshuaclayton authored
  4. @joshuaclayton
Commits on Jun 30, 2011
  1. @joshuaclayton
Something went wrong with that request. Please try again.