diff options
| author | Michael Kozono <mkozono@gmail.com> | 2017-05-03 10:54:06 -0700 |
|---|---|---|
| committer | Michael Kozono <mkozono@gmail.com> | 2017-05-05 12:11:58 -0700 |
| commit | e8f2a7007a96d19cf7f7e7278bf21007fafa9f1c (patch) | |
| tree | f6127d3ae7e1a022e12143771f12b51cfaaafa66 /lib/tasks | |
| parent | ca5c762cf577838a98c0ba96ce20b5f1d5dafc91 (diff) | |
| download | gitlab-ce-e8f2a7007a96d19cf7f7e7278bf21007fafa9f1c.tar.gz | |
Fix or workaround spec failure
Not sure why this fixes this error:
```
ActiveRecord::RecordNotUnique:
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_routes_on_source_type_and_source_id"
DETAIL: Key (source_type, source_id)=(Project, 1) already exists.
: INSERT INTO "routes" ("source_type", "path", "name", "source_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"
```
Diffstat (limited to 'lib/tasks')
0 files changed, 0 insertions, 0 deletions
