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" ```
Showing
Please register or sign in to comment