Skip to content


I should be able to define to_create (or skip_create) for all factories defined #341

joshuaclayton opened this Issue · 0 comments

1 participant

thoughtbot, inc. member

Name says it all.

@joshuaclayton joshuaclayton added a commit that closed this issue
@joshuaclayton joshuaclayton Allow to_create defined for all factories
This allows users to define to_create for every factory run through

    FactoryGirl.define do
      to_create {|instance| instance.persist! }

If you want to override this default, set it per factory or in a trait
(and include the trait).

Closes #341
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.