• Stan Hu's avatar
    Clean the test path after each spec run · d7dc9ad1
    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
    d7dc9ad1
spec_helper.rb 7.47 KB