summaryrefslogtreecommitdiff
path: root/config/routes/project.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-03-27 19:04:57 -0700
committerToon Claes <toon@gitlab.com>2018-03-28 08:58:04 +0200
commitd7dc9ad154b2589b6a1b702d76d29be4480d1211 (patch)
tree5550e0762e4bdbb69c03cd75baee30cc099122b0 /config/routes/project.rb
parent092445a4025bc1033e2028655ba739961f5e4ebb (diff)
downloadgitlab-ce-d7dc9ad154b2589b6a1b702d76d29be4480d1211.tar.gz
Clean the test path after each spec run
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
Diffstat (limited to 'config/routes/project.rb')
0 files changed, 0 insertions, 0 deletions