• Stan Hu's avatar
    Clean the test path after each spec run · 33795327
    Stan Hu authored
    FactoryBot's build_stubbed ignores the current database sequence of the
    projects table and starts at ID 1000. If more than 1000 projects are created
    during a test run, leftover repositories can cause spec failures. For example,
    a spec that expects an empty repository may fail since there may be existing
    content.
    
    Closes #5461
    33795327
spec_helper.rb 8.01 KB