Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Oct 21, 2015
  1. @tute

    Fix typo in

    Max Holzheu committed with tute
    [fixes #805]
    [skip ci]
  2. @manuelmeurer @tute

    Remove `Minitest::Rails::` removed prefix

    manuelmeurer committed with tute
    Followup to 66431d0
    [skip ci]
  3. @sivagollapalli @tute

    Update MiniTest to Minitest in Getting Started

    sivagollapalli committed with tute
    Drop mention of no longer existing module.
    [fixes #778]
    [fixes #830]
    [fixes #833]
Commits on Aug 2, 2015
  1. @drapergeek @joshuaclayton
Commits on Apr 2, 2015
  1. @jaredbeck @joshuaclayton

    Linting should not be the first chapter of "getting started"

    jaredbeck committed with joshuaclayton
    In fact, it probably shouldn't be in a "getting started" guide at all, but this commit simply moves it down towards the bottom.
Commits on Oct 23, 2014
  1. @joshuaclayton
Commits on Oct 13, 2014
  1. @eliotsykes @joshuaclayton

    Fix compatibility typo

    eliotsykes committed with joshuaclayton
Commits on May 30, 2014
  1. @joshuaclayton

    Allow selective linting

    joshuaclayton committed
    Closes #653
Commits on May 29, 2014
  1. @evilguc @joshuaclayton

    code example error in fix

    evilguc committed with joshuaclayton
    error due to incorrect use of instance variable fixed by use of closure
  2. @joshuaclayton

    Include path to RSpec helper

    joshuaclayton committed
    Closes #648
  3. @joshuaclayton
Commits on May 23, 2014
  1. @iwz

    Deprecate `#ignore` in favor of `#transient`

    iwz committed
    Update documentation to reflect that transient is now preferred
Commits on Apr 19, 2014
  1. @lime @joshuaclayton

    Clarify documentation on using initialize_with

    lime committed with joshuaclayton
    Using ignore blocks to avoid duplicate assignment is obsolete since
    factory_girl 4.0.
    Closes #622
Commits on Feb 26, 2014
  1. @leriksen @joshuaclayton
  2. @joshuaclayton

    Include DatabaseCleaner usage when demoing FactoryGirl.lint

    joshuaclayton committed
    Because built factories create associated records, the database may not
    be empty when the suite is run. This encourages developers to start
    DatabaseCleaner and clean after linting is complete to ensure a clean
    Closes #619, #611, #620
Commits on Feb 9, 2014
  1. @cibernox @joshuaclayton

    Instructions to include Syntax::Methods in Spinach

    cibernox committed with joshuaclayton
    Spinach is modular alternative to cucumber. Its gaining popularity these days.
  2. @joshuaclayton
Commits on Jan 30, 2014
  1. @dgalarza @joshuaclayton

    Move away from FactoryGirl to factory_girl in docs

    dgalarza committed with joshuaclayton
    Change any references of FactoryGirl to factory_girl for consistency.
Commits on Dec 15, 2013
  1. @joshuaclayton
Commits on Dec 13, 2013
  1. @cpytel

    Prefer the shorter syntax

    cpytel committed
    * Make that setup more prominent
    * Use it in the documentation
Commits on Nov 1, 2013
  1. @joshuaclayton

    Add *_pair methods to create only two records

    Andy Waite and Josh Clayton committed with joshuaclayton
    This introduces a set of methods for each build strategy where only two
    records are created. Because the *_list methods can create an arbitrary
    number (often too high), this introduces *_pair to ensure only two
    records are created (and the number 2 doesn't need to be specified in
    the call).
Commits on Oct 24, 2013
  1. @tadp @joshuaclayton
Commits on Oct 8, 2013
  1. @djbender @joshuaclayton
Commits on Sep 13, 2013
  1. @kddeisz @joshuaclayton
Commits on Apr 26, 2013
  1. @olivierlacan @joshuaclayton
Commits on Apr 5, 2013
  1. @releu @joshuaclayton

    Allow use of Symbol#to_proc in FactoryGirl callbacks

    releu committed with joshuaclayton
    This allows callbacks to be called as such:
        FactoryGirl.define do
          factory :user do
            after :create, &:confirm!
    Closes #511
Commits on Mar 25, 2013
  1. @joshuaclayton
Commits on Feb 17, 2013
  1. @dpickett @joshuaclayton
  2. @dpickett @joshuaclayton
Commits on Feb 8, 2013
  1. @joshuaclayton

    Add global callbacks

    joshuaclayton committed
    This allows callbacks (after :build, :create, etc.) to be defined at the
    FactoryGirl level; this means that the callback will be invoked for all
    factories. This is primarily to maintain consistency and follow the
    principle of least surprise.
    As usual, callbacks are applied from the lowest component to the
    highest, meaning that global callbacks will be run after factory and
    trait callbacks are run.
        FactoryGirl.define do
          after(:build) {|object| puts "Built #{object}" }
          factory :user
          # ...
    Closes #481
    Closes #486
Commits on Jan 18, 2013
  1. @joshuaclayton

    Convert to expect syntax

    joshuaclayton committed
Commits on Nov 2, 2012
  1. @hosamaly @joshuaclayton
Commits on Oct 29, 2012
  1. @stve
Commits on Oct 22, 2012
  1. @pjg @joshuaclayton

    Two typos fix in GETTING_STARTED

    pjg committed with joshuaclayton
Commits on Sep 28, 2012
  1. @phlipper
Something went wrong with that request. Please try again.