• Markus Koller's avatar
    Fix migration specs using factories · 8f537845
    Markus Koller authored
    We need to stub default_git_depth and default_git_depth= because some
    old migrations specs try to create a record using schema before that
    column was introduced.
    
    The `let!` calls were executed before the `before` hook which still
    caused some factories to fail, so they're created in the `before` hook
    now as well.
    8f537845
migrate_legacy_uploads_spec.rb 9.71 KB