Railtie overrides user-specified factories directory #64

wants to merge 4 commits into
Commits on Jun 18, 2012
  1. @urbanautomaton

    Add failing feature for fixture directory override

    urbanautomaton committed Jun 18, 2012
    For projects configured with rspec as the test framework, the railtie
    overrides any user-specified fixture directory that might be included in
    This patch modifies the required behaviour so that if such configuration
    is detected, it is not overridden. It also expects the auto-added
    configuration to match the generator's default of 'test/factories'.
  2. @urbanautomaton

    Fix overridden fixture config in railtie

    urbanautomaton committed Jun 18, 2012
    The railtie now only auto-adds fixture_replacement configuration if none
    is detected. It also does not specify a fixtures directory, deferring
    this to the generator's default instead.
Commits on Jun 19, 2012
  1. @urbanautomaton
Commits on Jul 2, 2012
  1. @urbanautomaton